Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Add mypy annotations | Takeshi KOMIYA | 2017-02-10 | 1 | -6/+16 | |
| | | ||||||
* | | Use sphinx.util.logging instead app.warn() | Takeshi KOMIYA | 2017-01-02 | 1 | -12/+12 | |
| | | ||||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2016-12-20 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix the warning type ``misc.highlighting_failure`` does not work | Takeshi KOMIYA | 2016-12-20 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '1.5-release' into master | shimizukawa | 2016-12-05 | 1 | -1/+2 | |
|\ \ | |/ | ||||||
| * | Fix #3185: Add new warning type ``misc.highlighting_failure`` | Takeshi KOMIYA | 2016-12-03 | 1 | -1/+2 | |
| | | ||||||
* | | Add type-check annotations to sphinx.* | Takeshi KOMIYA | 2016-11-16 | 1 | -1/+2 | |
|/ | ||||||
* | Highlighting fallbacks by default | Takeshi KOMIYA | 2016-02-20 | 1 | -53/+5 | |
| | | | | | | | | | | In 423bf7b, I tried to add fallback mechanism to ``python3``. But it breaks the python3 highlighting on python2 environment. This adds ``'default'`` to highlighting languages; it works like ``'python3'``, but fallbacks if failed Highlighting. And this removes try-parse step from ``'python3'`` language. Now, it highlights regardless of runtime environments. Thanks to Yoshiki SHIBUKAWA. | |||||
* | Fix code-block literals raises highlighting warnings by default | Takeshi KOMIYA | 2016-02-17 | 1 | -6/+6 | |
| | ||||||
* | The default highlight language is now Python 3. | Georg Brandl | 2016-02-14 | 1 | -6/+10 | |
| | | | | | | | | References: #2279. This means that source code is highlighted as Python 3 (which is mostly a superset of Python 2), and no parsing is attempted to distinguish valid code. | |||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2016-01-18 | 1 | -1/+5 | |
|\ | ||||||
| * | Fix #1565: Show warning if Pygments throws an ErrorToken | Takeshi KOMIYA | 2016-01-18 | 1 | -1/+5 | |
| | | ||||||
* | | Merge branch 'stable' | Georg Brandl | 2016-01-14 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Obligatory copyright update. | Georg Brandl | 2016-01-14 | 1 | -1/+1 | |
| | | ||||||
| * | Fix #1790 literalinclude strips empty lines at the head and tail | Takeshi KOMIYA | 2015-04-02 | 1 | -6/+6 | |
| | | ||||||
* | | FIX : fix syntax error in python 3.5 | Thomas A Caswell | 2015-05-12 | 1 | -1/+1 | |
| | | | | | | | | | | Be explicit about grouping between `**` in call and the `or` expression. | |||||
* | | Fix #1790 literalinclude strips empty lines at the head and tail | Takeshi KOMIYA | 2015-03-31 | 1 | -6/+6 | |
|/ | ||||||
* | pep8 fixes | Georg Brandl | 2015-03-08 | 1 | -2/+2 | |
| | ||||||
* | Fix #1620: Use VerbatimBorderColor to add frame to code-block in LaTeX | Takeshi KOMIYA | 2015-01-18 | 1 | -3/+1 | |
| | ||||||
* | highlighting: fix potential TypeError | Georg Brandl | 2015-01-06 | 1 | -1/+1 | |
| | ||||||
* | Add highlight_options configuration value | EricFromCanada | 2015-01-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | This changeset adds the `highlight_options` configuration value, which specifies a dict of key-value pairs to pass to the Pygments highlighter specified with `highlight_language`. For example, specifying `highlight_options = {'funcnamehighlighting' : False}` for the 'php' lexer will disable function name highlighting. Both the HTML and LaTeX writers have been updated to include the options when calling `highlight_block()`, as long as the currently selected language matches what was set with `highlight_language`, i.e. not when modified by `highlight::` or `code-block::` directives. | |||||
* | Merge branch 'stable' | Georg Brandl | 2015-01-03 | 1 | -1/+1 | |
|\ | ||||||
| * | all: update copyright | Georg Brandl | 2015-01-03 | 1 | -1/+1 | |
| | | ||||||
* | | Add frame to code-block in LaTeX | tk0miya | 2014-10-08 | 1 | -1/+3 | |
| | | ||||||
* | | Make pygments unconditional, it is required by setup.py anyway. | Georg Brandl | 2014-09-21 | 1 | -43/+20 | |
| | | ||||||
* | | remove 'six' name except importing line. | Takayuki Shimizukawa | 2014-04-30 | 1 | -3/+2 | |
| | | ||||||
* | | use six privided text_type() to replace with unicode() to support py2/py3 in ↵ | Takayuki Shimizukawa | 2014-04-29 | 1 | -3/+4 | |
| | | | | | | | | one source. refs #1350. | |||||
* | | introduce the six module and reduce sphinx.util.pycompat implementation. ↵ | Takayuki Shimizukawa | 2014-04-29 | 1 | -2/+3 | |
| | | | | | | | | refs #1350. | |||||
* | | merge with stable | Georg Brandl | 2014-03-25 | 1 | -1/+7 | |
|\ \ | |/ | ||||||
| * | Closes #636: Keep straight single quotes in literal blocks in the LaTeX build. | Georg Brandl | 2014-03-25 | 1 | -1/+7 | |
| | | ||||||
* | | Update copyright year. | Georg Brandl | 2014-03-01 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Update copyright year. | Georg Brandl | 2014-03-01 | 1 | -1/+1 | |
| | | ||||||
* | | merge heads | Takayuki Shimizukawa | 2014-01-15 | 1 | -17/+1 | |
|\ \ | |/ |/| | ||||||
| * | Drop python-3.1 and remove support codes | Takayuki Shimizukawa | 2013-12-15 | 1 | -6/+0 | |
| | | ||||||
| * | Drop python-2.5 and remove 2.4,2.5 support codes | Takayuki Shimizukawa | 2013-12-15 | 1 | -11/+1 | |
| | | ||||||
* | | Closes #845: In code blocks, when the selected lexer fails, display line ↵ | Georg Brandl | 2014-01-11 | 1 | -11/+11 | |
|/ | | | | numbers nevertheless if configured. | |||||
* | Copyright update. | Georg Brandl | 2013-01-01 | 1 | -1/+1 | |
| | ||||||
* | Only select 3.x versions. | Georg Brandl | 2012-10-28 | 1 | -2/+2 | |
| | ||||||
* | Merged in shimizukawa/sphinx-fix-testing-fork (pull request #62) | Georg Brandl | 2012-10-28 | 1 | -0/+6 | |
|\ | ||||||
| * | fix for Python3.1: Python 3.1 can't proceess '\r' at parser; ↵ | Takayuki Shimizukawa | 2012-05-03 | 1 | -0/+6 | |
| | | | | | | | | `parser.suite("print('hello')\r\n")` cause error. | |||||
* | | Closes #905: work around Pygments bug returning str instead of Unicode from ↵ | Georg Brandl | 2012-08-19 | 1 | -0/+2 | |
|/ | | | | Latex formatter for empty input. | |||||
* | Closes #810: fix deprecation warnings with Python 3. What is left over is ↵ | Georg Brandl | 2012-01-29 | 1 | -2/+2 | |
| | | | | from nose or docutils. | |||||
* | Closes #695: When the highlight language "python" is specified explicitly, ↵ | Georg Brandl | 2012-01-29 | 1 | -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 Brandl | 2011-09-25 | 1 | -7/+1 | |
| | ||||||
* | Remove compatibility code for Pygments < 1.2. | Georg Brandl | 2011-09-25 | 1 | -13/+10 | |
| | ||||||
* | Add changelog entry for emphasize-lines and some coding style fixes. | Georg Brandl | 2011-09-22 | 1 | -5/+4 | |
| | ||||||
* | PygmentsBridge: pass keyword arguments to Pygments | Mark Lodato | 2011-07-06 | 1 | -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 time | Mark Lodato | 2011-07-06 | 1 | -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:2a38261315ba | Georg Brandl | 2011-01-09 | 1 | -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. |