Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Replace distutils.versions.LooseVersion by packaging.version.Version | Takeshi KOMIYA | 2021-11-07 | 1 | -2/+2 |
| | | | | | | | Distutils module are now deprecated and will be removed in Python 3.12. This replaces it by packaging module and reduces the dependency to it. refs: #9820 | ||||
* | refactor: Use PEP-526 based variable annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -4/+4 |
| | |||||
* | Mention pygments_style in sphinxhighlight.sty | jfbu | 2021-02-13 | 1 | -0/+1 |
| | |||||
* | LaTeX, better workaround for a Pygments <= 2.7.4 line spacing issue | jfbu | 2021-02-13 | 1 | -0/+15 |
| | | | | | | Closes: #8874 Relates #4249 | ||||
* | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
| | | | | | | | .. 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 | ||||
* | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -5/+3 |
| | | | | | | | | | | | | 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. | ||||
* | Fix #7139: ``code-block:: guess`` does not work | Takeshi KOMIYA | 2020-02-12 | 1 | -6/+1 |
| | |||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-01 | 1 | -3/+3 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | |||||
| * | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -2/+2 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-25 | 1 | -18/+12 |
|\ \ | |/ | |||||
| * | Migrate to py3 style type annotation: sphinx.highlighting | Takeshi KOMIYA | 2019-12-25 | 1 | -21/+13 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-16 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | LaTeX: avoid quotes and TeX ligature replacements in PDF output | jfbu | 2019-12-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-11-30 | 1 | -4/+2 |
|\ \ | |/ | |||||
| * | Make escape() and hlescape() as public APIs of texescape | Takeshi KOMIYA | 2019-11-16 | 1 | -5/+3 |
| | | |||||
* | | Fix flake8 violation | Takeshi KOMIYA | 2019-11-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-11-17 | 1 | -4/+6 |
|\ \ | |/ | |||||
| * | Fix #6738: latex: literal_block does not support raw unicode characters | Takeshi KOMIYA | 2019-11-16 | 1 | -4/+7 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-08-19 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Switch uses of __import__ to importlib.get_module() | Jon Dufresne | 2019-08-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-06-21 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Fix #6497: custom lexers fails highlighting when syntax error | Takeshi KOMIYA | 2019-06-18 | 1 | -1/+2 |
| | | |||||
* | | Merge commit '54d5fcfaebc3364044761d30c0fed6bd4d3052c3' | Takeshi KOMIYA | 2019-06-02 | 1 | -30/+41 |
|\ \ | |/ | |||||
| * | Add :force: option to code directives | Takeshi KOMIYA | 2019-06-01 | 1 | -14/+15 |
| | | |||||
| * | highlight: Enable raiseonerror only if force=False | Takeshi KOMIYA | 2019-06-01 | 1 | -29/+38 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-05-13 | 1 | -15/+27 |
|\ \ | |/ | |||||
| * | refactor: Add PygmentsBridge.get_style() and .get_lexer() | Takeshi KOMIYA | 2019-05-12 | 1 | -15/+27 |
| | | |||||
* | | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | 2019-03-30 | 1 | -31/+2 |
|/ | |||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+1 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -2/+1 |
| | | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency. | ||||
* | | 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 |
|\ |