Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-13 | Mention pygments_style in sphinxhighlight.sty | jfbu | |
2021-02-13 | LaTeX, better workaround for a Pygments <= 2.7.4 line spacing issue | jfbu | |
Closes: #8874 Relates #4249 | |||
2021-01-01 | A happy new year! | Takeshi KOMIYA | |
.. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype | |||
2020-11-11 | Sort imports with isort | François Freitag | |
Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip. | |||
2020-02-12 | Fix #7139: ``code-block:: guess`` does not work | Takeshi KOMIYA | |
2020-01-01 | Merge branch '2.0' | Takeshi KOMIYA | |
2020-01-01 | A happy new year! | Takeshi KOMIYA | |
2019-12-30 | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | |
2019-12-25 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-12-24 | Migrate to py3 style type annotation: sphinx.highlighting | Takeshi KOMIYA | |
2019-12-15 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-12-15 | LaTeX: avoid quotes and TeX ligature replacements in PDF output | jfbu | |
Refs: #6890 The comma character is not TeX-escaped because it is frequent in general text and escaping it would make the LaTeX output larger for only dealing with the problem of the LaTeX-ligature of ,, into a single character. And one there is problem with the commas in options to Verbatim from PygmentsBridge. The hyphen character is escaped (not in ids and URIs!) to \sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed to work around hyperref transforming -- and --- from section titles into EN DASH resp. EM DASH in PDF bookmarks. https://github.com/latex3/hyperref/issues/112 Note to expert LaTeX users: if Sphinx latex user with xelatex has - turned off Smart Quotes for some reason, - but does want TeX ligatures and thus overrode Sphinx latex_elements['fontenc'] default (since #6888) to this effect, then this should be added to LaTeX preamble: \def\sphinxhyphen#1{-}% (\protected is now not needed) \let\sphinxhyphenforbookmarks\sphinxhyphen | |||
2019-11-30 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-11-17 | Fix flake8 violation | Takeshi KOMIYA | |
2019-11-17 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-11-16 | Make escape() and hlescape() as public APIs of texescape | Takeshi KOMIYA | |
2019-11-16 | Fix #6738: latex: literal_block does not support raw unicode characters | Takeshi KOMIYA | |
2019-08-18 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-08-17 | Switch uses of __import__ to importlib.get_module() | Jon Dufresne | |
The Python docs for __import__ recommend using importlib.get_module(). https://docs.python.org/3/library/functions.html#__import__ > Note: This is an advanced function that is not needed in everyday > Python programming, unlike importlib.import_module(). As importlib.get_module() uses the Python module cache and returns the module, this also allows simplifying many module cache checks of use of sys.modules. importlib.get_module() has been available since Python 3.3. | |||
2019-06-21 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-06-17 | Fix #6497: custom lexers fails highlighting when syntax error | Takeshi KOMIYA | |
2019-06-01 | Merge commit '54d5fcfaebc3364044761d30c0fed6bd4d3052c3' | Takeshi KOMIYA | |
2019-06-01 | Add :force: option to code directives | Takeshi KOMIYA | |
2019-06-01 | highlight: Enable raiseonerror only if force=False | Takeshi KOMIYA | |
2019-05-13 | Merge branch '2.0' | Takeshi KOMIYA | |
2019-05-12 | refactor: Add PygmentsBridge.get_style() and .get_lexer() | Takeshi KOMIYA | |
2019-03-30 | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | |
2019-03-06 | Clean up import for annotations | Takeshi KOMIYA | |
2019-01-02 | Merge branch '1.8' | Takeshi KOMIYA | |
2019-01-02 | A happy new year! | Takeshi KOMIYA | |
2018-12-19 | Replace use of six.text_type with str | Jon Dufresne | |
This removes the last use of the six package allowing Sphinx to remove it as a dependency. | |||
2018-12-16 | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | |
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. | |||
2018-12-16 | refactor: Remove u-prefix from strings | Takeshi KOMIYA | |
2018-12-15 | Replace pycompat.htmlescape() by html.escape() | Takeshi KOMIYA | |
2018-12-15 | Replace all "unicode" type by "str" | Takeshi KOMIYA | |
2018-12-14 | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | |
2018-11-24 | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | |
2018-11-14 | Always prefer dict literals over calls to dict() | Jon Dufresne | |
Dict literals are always slightly faster and are idiomatic modern Python. | |||
2018-10-31 | Merge branch '1.8' | Takeshi KOMIYA | |
2018-10-16 | Fix #5471: Show appropriate warning for deprecated APIs | Takeshi KOMIYA | |
2018-10-16 | Merge branch '1.8' | Takeshi KOMIYA | |
2018-10-16 | Fix mypy violations | Takeshi KOMIYA | |
2018-09-11 | Remove unnecessary object from class definitions | Jon Dufresne | |
In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||
2018-07-21 | Apply :confval:`trim_doctest_flags` to all builders (cf. text, manpages) | Takeshi KOMIYA | |
2018-07-20 | ``sphinx.highlighting.PygmentsBridge.unhighlight()`` is deprecated | Takeshi KOMIYA | |
2018-07-19 | Remove unused code | Takeshi KOMIYA | |
Now sphinx depends on pygments-2.0 or higher. So this code is not passed. | |||
2018-03-17 | Merge branch '1.7' | Takeshi KOMIYA | |
2018-03-13 | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | |
This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||
2018-03-03 | Make console and warning messages translatable | Takeshi KOMIYA | |
2018-02-14 | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | |