Commit Graph

17 Commits

Author SHA1 Message Date
Éric Araujo f595a76d3d Backport source role for linking to files in the cpython repo.
Georg added this role in our 3.2 doc tools and gave the greenlight for a
backport on python-dev.

This code is a simplified version of the 3.2 code; the version of Sphinx
used with Python 2.7 doesn’t have the function used to parse markup like
:role:`text to be displayed <text to be processed>` (I was persuaded it
was a standard reST construct, but it is actually a Sphinx innovation
that has to be supported explicitly in role code —I’ll be damned).  It
is thus not possible to write for example :source:`the NEWS file
<Misc/NEWS>`, but :source:`Misc/NEWS` will work.
2011-08-19 00:12:33 +02:00
Georg Brandl f5f7c66a01 Allow short form with text as argument. 2009-10-22 11:28:23 +00:00
Georg Brandl a054722778 Make it more robust. 2009-10-22 11:01:46 +00:00
Georg Brandl 08be2e2f35 Add a new directive marking up implementation details and start using it. 2009-10-22 08:05:04 +00:00
Georg Brandl 076ca5a430 Make deprecation notices as visible as warnings are right now. 2009-09-16 09:05:11 +00:00
Georg Brandl 438192540d Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/. 2009-04-26 09:56:44 +00:00
Benjamin Peterson c5206b3893 use the awesome new status iterator 2009-03-29 21:50:14 +00:00
Benjamin Peterson e0820e2ea7 document individual 2to3 fixers 2009-02-07 23:01:19 +00:00
Georg Brandl 85c5ccfab9 #4563: disable alpha and roman lists, fixes wrong formatting of contributor list. 2009-02-05 11:38:23 +00:00
Benjamin Peterson 1a67f589c6 use new sphinx modules 2009-01-08 04:01:00 +00:00
Georg Brandl 700cf28f41 Add "suspicious" builder which finds leftover markup in the HTML files.
Patch by Gabriel Genellina.
2009-01-04 10:23:49 +00:00
Benjamin Peterson a2813c9882 silence annoying DeprecationWarning 2008-12-20 23:48:54 +00:00
Benjamin Peterson cb948f12c9 let people using SVN Sphinx still build the docs 2008-12-01 12:52:51 +00:00
Benjamin Peterson dedb0b1813 fix pyspecific extensions that were broken by Sphinx's grand renaming 2008-11-30 21:46:16 +00:00
Georg Brandl d4c7e636a9 Move opcode handling to Python's extension. 2008-07-23 15:17:09 +00:00
Georg Brandl 681001e11b Generate pydoc's topic help from the reST docs via Sphinx'
new text writer.
2008-06-01 20:33:55 +00:00
Georg Brandl c305192196 Add :issue: directive for easy linking to bugs.python.org. 2008-04-09 17:58:56 +00:00