Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-13Mention pygments_style in sphinxhighlight.styjfbu
2021-02-13LaTeX, better workaround for a Pygments <= 2.7.4 line spacing issuejfbu
Closes: #8874 Relates #4249
2021-01-01A 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-11Sort imports with isortFranç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-12Fix #7139: ``code-block:: guess`` does not workTakeshi KOMIYA
2020-01-01Merge branch '2.0'Takeshi KOMIYA
2020-01-01A happy new year!Takeshi KOMIYA
2019-12-30mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA
2019-12-25Merge branch '2.0'Takeshi KOMIYA
2019-12-24Migrate to py3 style type annotation: sphinx.highlightingTakeshi KOMIYA
2019-12-15Merge branch '2.0'Takeshi KOMIYA
2019-12-15LaTeX: avoid quotes and TeX ligature replacements in PDF outputjfbu
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-30Merge branch '2.0'Takeshi KOMIYA
2019-11-17Fix flake8 violationTakeshi KOMIYA
2019-11-17Merge branch '2.0'Takeshi KOMIYA
2019-11-16Make escape() and hlescape() as public APIs of texescapeTakeshi KOMIYA
2019-11-16Fix #6738: latex: literal_block does not support raw unicode charactersTakeshi KOMIYA
2019-08-18Merge branch '2.0'Takeshi KOMIYA
2019-08-17Switch 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-21Merge branch '2.0'Takeshi KOMIYA
2019-06-17Fix #6497: custom lexers fails highlighting when syntax errorTakeshi KOMIYA
2019-06-01Merge commit '54d5fcfaebc3364044761d30c0fed6bd4d3052c3'Takeshi KOMIYA
2019-06-01Add :force: option to code directivesTakeshi KOMIYA
2019-06-01highlight: Enable raiseonerror only if force=FalseTakeshi KOMIYA
2019-05-13Merge branch '2.0'Takeshi KOMIYA
2019-05-12refactor: Add PygmentsBridge.get_style() and .get_lexer()Takeshi KOMIYA
2019-03-30Drop features and APIs deprecated in 1.8Takeshi KOMIYA
2019-03-06Clean up import for annotationsTakeshi KOMIYA
2019-01-02Merge branch '1.8'Takeshi KOMIYA
2019-01-02A happy new year!Takeshi KOMIYA
2018-12-19Replace use of six.text_type with strJon Dufresne
This removes the last use of the six package allowing Sphinx to remove it as a dependency.
2018-12-16Remove unnecessary encoding cookie from Python source filesJon 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-16refactor: Remove u-prefix from stringsTakeshi KOMIYA
2018-12-15Replace pycompat.htmlescape() by html.escape()Takeshi KOMIYA
2018-12-15Replace all "unicode" type by "str"Takeshi KOMIYA
2018-12-14Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA
2018-11-24Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA
2018-11-14Always prefer dict literals over calls to dict()Jon Dufresne
Dict literals are always slightly faster and are idiomatic modern Python.
2018-10-31Merge branch '1.8'Takeshi KOMIYA
2018-10-16Fix #5471: Show appropriate warning for deprecated APIsTakeshi KOMIYA
2018-10-16Merge branch '1.8'Takeshi KOMIYA
2018-10-16Fix mypy violationsTakeshi KOMIYA
2018-09-11Remove unnecessary object from class definitionsJon Dufresne
In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
2018-07-21Apply :confval:`trim_doctest_flags` to all builders (cf. text, manpages)Takeshi KOMIYA
2018-07-20``sphinx.highlighting.PygmentsBridge.unhighlight()`` is deprecatedTakeshi KOMIYA
2018-07-19Remove unused codeTakeshi KOMIYA
Now sphinx depends on pygments-2.0 or higher. So this code is not passed.
2018-03-17Merge branch '1.7'Takeshi KOMIYA
2018-03-13Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA
This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
2018-03-03Make console and warning messages translatableTakeshi KOMIYA
2018-02-14Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA