Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. | |||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+3 | |
| | | ||||||
* | | Replace pycompat.htmlescape() by html.escape() | Takeshi KOMIYA | 2018-12-16 | 1 | -2/+2 | |
| | | ||||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -7/+6 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+1 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | ||||||
* | | Always prefer dict literals over calls to dict() | Jon Dufresne | 2018-11-13 | 1 | -9/+9 | |
| | | | | | | | | | | Dict literals are always slightly faster and are idiomatic modern Python. | |||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-11-01 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Fix #5471: Show appropriate warning for deprecated APIs | Takeshi KOMIYA | 2018-10-17 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -2/+2 | |
| | | ||||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -1/+1 | |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | Apply :confval:`trim_doctest_flags` to all builders (cf. text, manpages) | Takeshi KOMIYA | 2018-07-21 | 1 | -2/+6 | |
| | ||||||
* | ``sphinx.highlighting.PygmentsBridge.unhighlight()`` is deprecated | Takeshi KOMIYA | 2018-07-21 | 1 | -0/+5 | |
| | ||||||
* | Remove unused code | Takeshi KOMIYA | 2018-07-20 | 1 | -2/+0 | |
| | | | | | Now sphinx depends on pygments-2.0 or higher. So this code is not passed. | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -3/+2 | |
|\ | ||||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -3/+2 | |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||||
* | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -3/+4 | |
|/ | ||||||
* | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+3 | |
| | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -10/+9 | |
| | ||||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | 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 | |
| | |