[New-bugs-announce] [issue10334] Add new reST directive for links to source code
Raymond Hettinger
report at bugs.python.org
Sat Nov 6 07:28:02 CET 2010
New submission from Raymond Hettinger <rhettinger at users.sourceforge.net>:
In a few cases where the pure python source code is a helpful adjunct to the documentation, I've added some links using the "seealso" directive:
.. seealso::
Latest version of the `ast module Python source code
<http://svn.python.org/view/python/branches/release27-maint/Lib/ast.py?view=markup>`_
It would be great if a new directive could be introduced for this purpose. Something like:
.. sourcecode Lib/ast.py
With a directive, we could easily point the root directory to different releases or to a local source directory for local doc build.
----------
assignee: georg.brandl
components: Documentation
messages: 120587
nosy: georg.brandl, rhettinger
priority: low
severity: normal
status: open
title: Add new reST directive for links to source code
type: feature request
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10334>
_______________________________________
More information about the New-bugs-announce
mailing list