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.
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:36 | admin | set | github: 47626 |
| 2008年09月09日 19:17:41 | georg.brandl | set | status: open -> closed resolution: fixed messages: + msg72896 |
| 2008年07月18日 17:51:35 | benjamin.peterson | set | files: + for_py3k_branch.diff |
| 2008年07月18日 17:50:55 | benjamin.peterson | set | files:
+ default_lexer_option.diff keywords: + patch messages: + msg69960 nosy: + benjamin.peterson |
| 2008年07月16日 13:27:39 | georg.brandl | create | |