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)