Make module formatting into links to the other module docs

pull/10926/head
Toshio Kuratomi 10 years ago
parent ba822ce0f9
commit 4c8d27f7bb

@ -68,7 +68,7 @@ def rst_ify(text):
t = _ITALIC.sub(r'*' + r"\1" + r"*", text) t = _ITALIC.sub(r'*' + r"\1" + r"*", text)
t = _BOLD.sub(r'**' + r"\1" + r"**", t) 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 = _URL.sub(r"\1", t)
t = _CONST.sub(r'``' + r"\1" + r"``", t) t = _CONST.sub(r'``' + r"\1" + r"``", t)

Loading…
Cancel
Save