summaryrefslogtreecommitdiff
path: root/sphinx/application.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | docs: Fix an example for add_directive()Takeshi KOMIYA2020-10-041-4/+5
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge pull request #8280 from tk0miya/refactor_add_source_parserTakeshi KOMIYA2020-10-061-2/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | refactor: Change signature of app.add_source_parser()
| * | | | | | | | refactor: Change signature of app.add_source_parser()Takeshi KOMIYA2020-10-041-2/+3
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | docs: Add documentation for "override" flag of app APITakeshi KOMIYA2020-10-041-2/+49
|/ / / / / / /
* | | | | | | Fix #6640: i18n: Failed to override system message translationTakeshi KOMIYA2020-10-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Fix typo in warning emitted from Sphinx.add_lexer()Dominic Davis-Foster2020-08-251-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Fix reported dir when throwing ApplicationErrorBrandon Houghton2020-06-031-1/+1
| |_|_|_|/ |/| | | | | | | | | if path.exists(self.outdir) and not path.isdir(self.outdir), error reported self.srcdir which should be self.outdir
* | | | | latex: Allow to add LaTeX package after hyperref loaded via APITakeshi KOMIYA2020-05-241-3/+8
| | | | |
* | | | | Add allowed_exceptions parameter to Sphinx.emit() (refs: #7683)Takeshi KOMIYA2020-05-171-4/+14
| |_|_|/ |/| | | | | | | | | | | It allows handlers to raise specified exceptions.
* | | | Fix double space inconsistences in code, CHANGES and translations.Álvaro Mondéjar2020-05-091-1/+1
| | | |
* | | | Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA2020-05-031-1/+1
| |_|/ |/| |
* | | Fix #7345: sphinx-build: Sphinx crashes if output directory exists as a fileTakeshi KOMIYA2020-03-211-0/+4
| | |
* | | Fix #7282: i18n: messages using ngettext() does not translatedTakeshi KOMIYA2020-03-141-6/+8
| |/ |/|
* | Merge branch '2.x' into 3.xTakeshi KOMIYA2020-03-121-1/+1
|\ \ | |/ |/|
| * Fix mypy violations (with mypy-0.770)Takeshi KOMIYA2020-03-121-1/+1
| |
* | Support priority of event handlersTakeshi KOMIYA2020-01-161-3/+11
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-111-5/+5
|\ \ | |/
| * refactor: Rename var keyword argument to "**kwargs"Takeshi KOMIYA2020-01-081-5/+5
| |
* | Update application.pyChris Holdgraf2020-01-041-1/+1
| |
* | updating docstring for add_js_file for body elementChris Holdgraf2020-01-031-2/+7
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-011-7/+8
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-7/+8
| |
* | Fix flake8 violationsTakeshi KOMIYA2019-12-251-0/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-251-117/+82
|\ \ | |/
| * Migrate to py3 style type annotation: sphinx.applicationTakeshi KOMIYA2019-12-251-126/+90
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-221-4/+4
|\ \ | |/
| * Add IndexDomainTakeshi KOMIYA2019-12-221-1/+1
| |
| * Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-3/+3
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-091-0/+7
|\ \ | |/
| * Merge branch '2.2.2' into 2.0Takeshi KOMIYA2019-12-031-0/+7
| |\
| | * Fix #6803: Disable parallel build on macOS and py38+Takeshi KOMIYA2019-12-011-0/+7
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-11-171-9/+13
|\ \ \ | |/ /
| * | Improve variable names and code styleThomas Robitaille2019-11-121-13/+12
| | |
| * | Give a warning when extensions are explicitly not parallel safeThomas Robitaille2019-11-121-9/+14
| |/
* | Merge branch '2.0'jfbu2019-08-011-1/+2
|\ \ | |/
| * Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+2
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-07-011-3/+5
|\ \ | |/
| * Close #6475: Add override argument to app.add_autodocumenter()Takeshi KOMIYA2019-06-301-3/+5
| |
* | Merge commit '54d5fcfaebc3364044761d30c0fed6bd4d3052c3'Takeshi KOMIYA2019-06-021-7/+14
|\ \ | |/
| * Sphinx.add_lexer() now takes a Lexer class instead of instanceTakeshi KOMIYA2019-06-011-6/+14
| |
| * refactor: app.add_lexer()Takeshi KOMIYA2019-06-011-4/+3
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-05-291-3/+10
|\ \ | |/
| * ENH: Explain warnings-as-errorsEric Larson2019-05-141-3/+10
| |
| * Make EventManager portableTakeshi KOMIYA2019-04-161-13/+7
| | | | | | | | | | | | So far, we need to bypass application object for modules to emit a event. This make EventManager portable and easy to pass event emitter. This brings modules less coupled with application object.
* | Merge pull request #6260 from tk0miya/refactor_eventsTakeshi KOMIYA2019-04-161-13/+7
|\ \ | | | | | | Make EventManager portable
| * | Make EventManager portableTakeshi KOMIYA2019-04-061-13/+7
| | | | | | | | | | | | | | | | | | So far, we need to bypass application object for modules to emit a event. This make EventManager portable and easy to pass event emitter. This brings modules less coupled with application object.
* | | Merge branch '2.0'Takeshi KOMIYA2019-04-071-1/+1
|\ \ \ | |/ / |/| / | |/
| * Merge branch '2.0' into refactor_citationsTakeshi KOMIYA2019-04-061-2/+10
| |\
| | * Merge branch '2.0.1' into 2.0Takeshi KOMIYA2019-03-311-2/+10
| | |\