[issue10334] Add new reST directive for links to source code

Georg Brandl report at bugs.python.org
Sat Nov 6 08:20:35 CET 2010


Georg Brandl <georg at python.org> added the comment:

OK, I added a "source" role in r86256.  It can be used as Alex showed:

either like :source:`ast module Python source code <Lib/ast.py>`
(with an explicit link title)

or like :source:`Lib/ast.py`
(where the link title is the file name).

----------
resolution:  -> accepted
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10334>
_______________________________________


More information about the Python-bugs-list mailing list