From 4c8d27f7bbb196486b27b46b78053bac0ada2def Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 5 May 2015 13:48:04 -0700 Subject: [PATCH] Make module formatting into links to the other module docs --- hacking/module_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index c3aca94949..32df84deb9 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -68,7 +68,7 @@ def rst_ify(text): t = _ITALIC.sub(r'*' + r"\1" + r"*", text) t = _BOLD.sub(r'**' + r"\1" + r"**", t) - t = _MODULE.sub(r'``' + r"\1" + r"``", t) + t = _MODULE.sub(r':ref:`' + r"\1 <\1>" + r"`", t) t = _URL.sub(r"\1", t) t = _CONST.sub(r'``' + r"\1" + r"``", t)