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-09doc: Link autodoc tutorial in add_autodocumenter docstringigo95862
Uses :ref: link because :doc: does not work.
2021-02-09Update type annotationsTakeshi KOMIYA
2021-01-27Merge branch '3.x'Takeshi KOMIYA
2021-01-25doc: Apply :params: to some APIs in app classTakeshi KOMIYA
2021-01-24Merge branch '3.x'Takeshi KOMIYA
2021-01-24Merge pull request #8744 from tk0miya/refactor_doc4Takeshi KOMIYA
doc: Apply :params: to some APIs in app class
2021-01-24Merge branch '3.x'Takeshi KOMIYA
2021-01-24Update sphinx/application.pyTakeshi KOMIYA
2021-01-23doc: Apply :params: to some APIs in app classTakeshi KOMIYA
2021-01-23Fix #8054: Add explanation for types argument of add_config_value()Takeshi KOMIYA
2021-01-07Merge branch '3.x'Takeshi KOMIYA
2021-01-06Close #6241: html: Allow to add JS/CSS files to the specific pageTakeshi KOMIYA
Allow to add JS/CSS files to the specific page when an extension calls `app.add_js_file()` or `app.add_css_file()` on `html-page-context` event.
2021-01-02refactor: Move CSS tags in basic/layout.html to ``css_files`` variableTakeshi KOMIYA
To make CSS customizable, all CSS files in basic/layout.html has their priority: 200. Therefore, extensions and users can insert their own custom CSS files before or just after them. As a side effect, the CSS tags in basic/layout.html are removed. These CSS files will be rendered via `css_files` template variable. refs: #8634, c5f03980107e123210fb602f4c31f5ae950e2af4
2021-01-02Merge branch '3.x'Takeshi KOMIYA
2021-01-02doc: Add explanation about stable sort of html_*_filesTakeshi KOMIYA
2021-01-01Close #8634: html: Allow to change the order of JS/CSSTakeshi KOMIYA
`Sphinx.add_js_file()` and `Sphinx.add_css_file()` take `priority` argument to change the order of JS/CSS files.
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-11-20Merge branch '3.x'Takeshi KOMIYA
2020-11-12Fix #8398: Fix type annotation for "confdir" of Sphinx.__init__()Takeshi KOMIYA
None is allowed to the argument. So it should be "Optional[str]" instead of "str".
2020-11-12Merge branch '3.3.x' into 3.xTakeshi 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-09Put system locale path after the paths specified by configurationDmitry Shachnev
In Debian, we ship the translation data for Sphinx in the default search path, /usr/share/locale/. When a .mo file is present there, it takes priority over the translation files specified by the configuration, so overriding does not work. This makes test_customize_system_message fail.
2020-10-24Merge branch '3.x'Takeshi KOMIYA
2020-10-05Merge pull request #8281 from tk0miya/8073_update_directive_exampleTakeshi KOMIYA
docs: Fix an example for add_directive()
2020-10-05Merge pull request #8280 from tk0miya/refactor_add_source_parserTakeshi KOMIYA
refactor: Change signature of app.add_source_parser()
2020-10-04Merge branch '3.x' into masterTakeshi KOMIYA
2020-10-04docs: Fix an example for add_directive()Takeshi KOMIYA
2020-10-04refactor: Change signature of app.add_source_parser()Takeshi KOMIYA
To make compatible with old versions, app.add_source_parser() have taken two types of arguments. But the compatibility was no longer needed since 3.0. So it would be better to use clearer signature.
2020-10-04docs: Add documentation for "override" flag of app APITakeshi KOMIYA
2020-10-04Fix #6640: i18n: Failed to override system message translationTakeshi KOMIYA
Our document describes that users can override system messages via their own message catalog named `sphinx.mo` under the locale_dirs. But it has not been used since its beginning of i18n mechanism because the priority of users' message catalog is lower than system's. This makes the priority of users' message catalog higher than system's.
2020-08-25Fix typo in warning emitted from Sphinx.add_lexer()Dominic Davis-Foster
2020-07-04Merge tag 'v3.1.0'Takeshi KOMIYA
2020-06-03Fix reported dir when throwing ApplicationErrorBrandon Houghton
if path.exists(self.outdir) and not path.isdir(self.outdir), error reported self.srcdir which should be self.outdir
2020-06-03Merge branch '3.x'Takeshi KOMIYA
2020-05-23latex: Allow to add LaTeX package after hyperref loaded via APITakeshi KOMIYA
2020-05-17Add allowed_exceptions parameter to Sphinx.emit() (refs: #7683)Takeshi KOMIYA
It allows handlers to raise specified exceptions.
2020-05-17Merge branch '3.x'Takeshi KOMIYA
2020-05-09Fix double space inconsistences in code, CHANGES and translations.Álvaro Mondéjar
2020-05-03Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA
2020-04-29Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA
2020-03-21Merge branch '3.x'Takeshi KOMIYA
2020-03-21Fix #7345: sphinx-build: Sphinx crashes if output directory exists as a fileTakeshi KOMIYA
2020-03-14Fix #7282: i18n: messages using ngettext() does not translatedTakeshi KOMIYA
2020-03-11Merge branch '3.x'Takeshi KOMIYA
2020-03-11Merge branch '2.x' into 3.xTakeshi KOMIYA
2020-03-11Fix mypy violations (with mypy-0.770)Takeshi KOMIYA
2020-03-07Hello TYPE_CHECKING!Takeshi KOMIYA
2020-03-07Deprecate codes for python 3.5Takeshi KOMIYA