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-03-06Merge pull request #8432 from tk0miya/7119_pending_xref_conditionTakeshi KOMIYA
Fix #7119: Show type hint names unqualified when resolving succeeded
2021-03-05Filter pending_xref_condition node on failed resolutionTakeshi KOMIYA
2021-03-04Merge pull request #8954 from askhl/safer-translatable-stringsTakeshi KOMIYA
Safe formatting of translatable strings
2021-03-03format translatable strings in one go. This enables translation tools like ↵Ask Hjorth Larsen
msgfmt to verify that an incorrect translation cannot crash sphinx-build. This will fix current crashes for Hungarian and Greek (Spanish was fixed in #8941)
2021-02-16Merge pull request #8899 from mcmtroffaes/patch-2Takeshi KOMIYA
fix potential getitem error in resolve_anyref
2021-02-16fix potential getitem error in resolve_anyrefMatthias C. M. Troffaes
2021-02-09Merge branch '3.x'Takeshi KOMIYA
2021-02-08i18n: Locale transform: Change heading syntax to work for both RST and MarkdownJames McKinney
2021-01-27Merge branch '3.x'Takeshi KOMIYA
2021-01-24Fix #8745: i18n: KeyError if a new auto footnote_ref in translationsTakeshi KOMIYA
Some writers will be crashed by KeyError because of lack of the refid if a new auto footnote reference is added to the message catalog by translation misses. This detects the invalid footnote references and removes them on the translation phase.
2021-01-22Merge branch '3.x'Takeshi KOMIYA
2021-01-20minor typing fixChris Sewell
2021-01-16Fix #4550: The align attribute of figure nodes becomes None by defaultTakeshi KOMIYA
To keep compatibility with the standard doctree model of docutils, this stops to use 'default' value as a default value of the align attribute for figure and table nodes.
2021-01-07Merge branch '3.x'Takeshi KOMIYA
2021-01-04Skip imgconverter availability check if builder supports the image typeStefan Wiehler
Close #7973: ImgConverter runs is_available in HTML builder Close missinglinkelectronics/sphinxcontrib-svg2pdfconverter#8: Extension should only run on LaTeX builder
2021-01-01Merge branch '3.x'Takeshi KOMIYA
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-12-20Merge branch '3.x'Takeshi KOMIYA
2020-12-13Deprecate sphinx.util.osutil.movefile() in favor of os.replace()Jon Dufresne
The utility function movefile() was added in 677d096393bca948eea8fad252bd859ed8142309 to handle existing files on Windows. Since Python 3.3, the stdlib function os.replace() fills this role.
2020-11-11Do isortTakeshi KOMIYA
2020-11-11Merge branch '3.x'Takeshi KOMIYA
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-11-04Merge branch '3.x'Takeshi KOMIYA
2020-11-02Fix #6914: Emit a detailed warning when failed to resolve :ref:Takeshi KOMIYA
To be clear the ambiguous warning for missing-reference :ref:, this separates the warning to missing-label and missing-caption. To emit a warning dynamically, this also adds a new event: `warn-missing-reference` to customize warning messages via event handlers.
2020-11-02Merge branch '3.x'Takeshi KOMIYA
2020-11-01Merge branch '3.x' into 8183Takeshi KOMIYA
2020-10-04Merge branch '3.x' into masterTakeshi KOMIYA
2020-10-04Fix #7973: imgconverter: Check availability of imagemagick only onceTakeshi KOMIYA
To prevent checking the availability of image converters times and times again, this stores the result to the class variable. It is not a good design to have a state globally. So this should be refactored in the future.
2020-09-08Don't remove substitution_reference nodes (fix #7953)Brecht Machiels
SubstitutionDefinitionsRemover is now a SphinxPostTransform, only applied in the Sphinx builder, as was originally the case (see #4827).
2020-08-08Merge branch '3.x'Takeshi KOMIYA
2020-08-05Close #6698: doctest: Add :no-trim-doctest-flags: optionsTakeshi KOMIYA
To control trimming doctest flags manually, this adds new options :trim-doctest-flags: and :no-trim-doctest-flags: to doctest directives. It helps to describes doctest module itself in python doc (see #6698).
2020-07-24Merge branch '3.x'Takeshi KOMIYA
2020-07-19Fix #4888: i18n: Failed to add an explicit title to ``:ref:`` roleTakeshi KOMIYA
To allow to give (or not to give) an explicit title to the pending_xref nodes on translation, this skips to override the attribute on merge original and translated documents.
2020-07-19Close #7784: i18n: The alt text for image is translated by defaultTakeshi KOMIYA
Make alt text for image translatable by default without settings of gettext_additional_targets.
2020-07-16Preserve backwards compatibilityPeter Bell
2020-07-16refactor: namedtuples with PEP 526Takeshi KOMIYA
Apply PEP 526 based variable annotation style to namedtuples. It is available since python 3.6.
2020-07-15Require canonical name to be specified when calling deprecated_aliasPeter Bell
2020-07-04Merge branch '3.x'Takeshi KOMIYA
2020-06-14Fix exception causes all over the codebaseRam Rachum
2020-06-03Merge branch '3.x'Takeshi KOMIYA
2020-05-17Remember Pythons tuple syntaxJakob Lykke Andersen
2020-05-17Allow NoUri from 'missing-reference' handlers.Jakob Lykke Andersen
Also extend documentation of 'missing-reference'.
2020-05-17Merge branch '3.x'Takeshi KOMIYA
2020-05-09Fix #7628: imgconverter: runs imagemagick unnecessaryTakeshi KOMIYA
2020-05-09Merge branch '3.0.x' into 3.xTakeshi KOMIYA
2020-05-06Fix #7610: incorrectly renders consecutive backslashesTakeshi KOMIYA
2020-05-05Introduce fips safe sha1, see issue #7611Lars Hupfeldt
2020-04-29Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA
2020-04-05Merge branch '3.x'Takeshi KOMIYA
2020-03-29refactor: Update type annotation for cpp domainTakeshi KOMIYA