This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Use Python 3 lexer for 3.0 docs
Type: Stage:
Components: Documentation, Documentation tools (Sphinx) Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, georg.brandl
Priority: low Keywords: patch

Created on 2008-07-16 13:27 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
default_lexer_option.diff benjamin.peterson, 2008-07-18 17:50
for_py3k_branch.diff benjamin.peterson, 2008-07-18 17:51
Messages (2)
msg69960 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-07-18 17:50
I'm attaching two patches. One, for the Sphinx trunk, adds a
pygments_default_lexer option. The other, for the py3k branch, changes
the default lexer to python3. It also includes a rather hacky, overriden
highlightlang directive that changes the lexer from 'python' to
'python3' and calls the real highlightlang directive. This would
probably be better solved by adding a lexer_aliases option or something
to Sphinx. Note this doesn't work because the pygments version in SVN
doesn't have the Python 3 lexer.
msg72896 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-09-09 19:17
Should be fixed in r66344.
History
Date User Action Args
2022-04-11 14:56:36adminsetgithub: 47626
2008-09-09 19:17:41georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg72896
2008-07-18 17:51:35benjamin.petersonsetfiles: + for_py3k_branch.diff
2008-07-18 17:50:55benjamin.petersonsetfiles: + default_lexer_option.diff
keywords: + patch
messages: + msg69960
nosy: + benjamin.peterson
2008-07-16 13:27:39georg.brandlcreate