New submission from Benjamin Peterson <[EMAIL PROTECTED]>: 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.
---------- keywords: +patch nosy: +benjamin.peterson Added file: http://bugs.python.org/file10936/default_lexer_option.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3376> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com