New submission from Raymond Hettinger <rhettin...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10334>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to