summaryrefslogtreecommitdiff
path: root/sphinx/highlighting.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-291-3/+4
| | | | | | | | one source. refs #1350.
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-2/+3
| | | | | | | | refs #1350.
* | merge with stableGeorg Brandl2014-03-251-1/+7
|\ \ | |/
| * Closes #636: Keep straight single quotes in literal blocks in the LaTeX build.Georg Brandl2014-03-251-1/+7
| |
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | merge headsTakayuki Shimizukawa2014-01-151-17/+1
|\ \ | |/ |/|
| * Drop python-3.1 and remove support codesTakayuki Shimizukawa2013-12-151-6/+0
| |
| * Drop python-2.5 and remove 2.4,2.5 support codesTakayuki Shimizukawa2013-12-151-11/+1
| |
* | Closes #845: In code blocks, when the selected lexer fails, display line ↵Georg Brandl2014-01-111-11/+11
|/ | | | numbers nevertheless if configured.
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* Only select 3.x versions.Georg Brandl2012-10-281-2/+2
|
* Merged in shimizukawa/sphinx-fix-testing-fork (pull request #62)Georg Brandl2012-10-281-0/+6
|\
| * fix for Python3.1: Python 3.1 can't proceess '\r' at parser; ↵Takayuki Shimizukawa2012-05-031-0/+6
| | | | | | | | `parser.suite("print('hello')\r\n")` cause error.
* | Closes #905: work around Pygments bug returning str instead of Unicode from ↵Georg Brandl2012-08-191-0/+2
|/ | | | Latex formatter for empty input.
* Closes #810: fix deprecation warnings with Python 3. What is left over is ↵Georg Brandl2012-01-291-2/+2
| | | | from nose or docutils.
* Closes #695: When the highlight language "python" is specified explicitly, ↵Georg Brandl2012-01-291-2/+4
| | | | | | do not try to parse the code to recognize non-Python snippets. Thanks to Jonas Haag for the patch.
* More version-compatibility hack removals.Georg Brandl2011-09-251-7/+1
|
* Remove compatibility code for Pygments < 1.2.Georg Brandl2011-09-251-13/+10
|
* Add changelog entry for emphasize-lines and some coding style fixes.Georg Brandl2011-09-221-5/+4
|
* PygmentsBridge: pass keyword arguments to PygmentsMark Lodato2011-07-061-2/+2
| | | | | | In Pygments.highlight_block, pass all extra keyword arguments, including linenos, directly to the Pygments formatter. This allows custom directives to use other Pygments features.
* PygmentsBridge: construct new formatter each timeMark Lodato2011-07-061-13/+18
| | | | | | | | Previously, we pre-constructed two different formatters, one with line numbers and one without. This made the code rather confusing and also was not scalable for options that take arguments, such as 'hl_lines'. Now, we construct a new HTMLFormatter or LatexFormatter on each call to highlight_block().
* changeset: 3201:2a38261315baGeorg Brandl2011-01-091-3/+3
| | | | | | | | tag: tip parent: 3199:cd7b0a8d99c6 user: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> date: Sun Jan 09 20:55:13 2011 +0100 summary: Trim <BLANKLINE> just like doctest flags.
* Add ``pyramid`` theme.Georg Brandl2011-01-041-21/+1
|
* merge with 1.0Georg Brandl2011-01-041-1/+1
|\
| * New year update.Georg Brandl2011-01-041-1/+1
| |
* | merge with 1.0Georg Brandl2010-10-221-1/+1
|\ \ | |/
| * #534: warning message instead of crash if invalid Pygments lexer name is used.Georg Brandl2010-10-221-1/+1
| |
* | merge with 1.0Georg Brandl2010-08-051-1/+1
|\ \ | |/
| * Fix unwanted styling of C domain references (because of a namespace clash ↵Georg Brandl2010-08-051-1/+1
| | | | | | | | with Pygments styles).
* | encode source code for parsing only on python 2.xDaniel Neuhäuser2010-05-301-1/+1
| |
* | Check if a string is not unicode as a workaround for 3.xDaniel Neuhäuser2010-05-301-1/+1
|/
* merge with 0.6Georg Brandl2010-04-061-3/+12
|\
| * Add warning facility on unknown Pygments lexer names.Georg Brandl2010-04-041-3/+12
| |
* | merge with 0.6Georg Brandl2010-01-061-3/+6
|\ \ | |/
| * Restore compatibility with Pygments >= 1.2.Georg Brandl2010-01-061-3/+6
| |
* | merge with 0.6Georg Brandl2010-01-011-1/+1
|\ \ | |/
| * Happy new year!Georg Brandl2010-01-011-1/+1
| |
* | merge with 0.6Georg Brandl2009-11-091-1/+9
|\ \ | |/
| * #265: restore Jython compatibility.Georg Brandl2009-11-081-1/+9
| |
* | #169: Added the ``trim_doctest_flags`` config value, which is true by default.Georg Brandl2009-06-161-1/+12
|/
* When highlighting Python code, ignore extra indentation beforeGeorg Brandl2009-06-041-0/+5
| | | | trying to parse it as Python.
* Convert strings to unicode in highlighting.Georg Brandl2009-04-281-0/+2
|
* Reformat to EOL80.Georg Brandl2009-01-101-1/+2
|
* Split stylesheets into basic, default and sphinxdoc.Georg Brandl2009-01-101-1/+1
|
* Add Pygments style selection to theming.Georg Brandl2009-01-101-2/+7
|
* Merge in copyright style changes from 0.5.Georg Brandl2009-01-031-1/+1
|\
| * Switch copyright and license tags to single style. Add contributorGeorg Brandl2009-01-031-2/+2
| | | | | | | | | | names in AUTHORS instead, and add the license of etree13 to LICENSE.
* | Explicitly refer to the license in :license: tags.Georg Brandl2008-12-271-1/+1
| |
* | Fix NameError if Pygments is not installed.Georg Brandl2008-12-161-1/+2
| |