Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -1/+1 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -4/+4 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Make `-P` (pdb) work better with exceptions triggered from events | Jeremy Maitin-Shepard | 2022-07-04 | 1 | -0/+3 |
| | | | | | | | | | | | | Previously, if an exception was raised from an event listener, and the `-P` option was specified, the debugger would be started not for the original error but for the `ExtensionError` wrapping it that was raised by `EventManager.emit`. That made it difficult to debug the error. With this change, when `-P` is specified, wrapping of errors in `ExtensionError` is disabled, which allows pdb to debug the original error. | ||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -3/+3 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | refactor: Use PEP-526 based variable annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -1/+1 |
| | |||||
* | Merge branch '3.x' | Takeshi KOMIYA | 2021-02-07 | 1 | -1/+3 |
|\ | |||||
| * | Close #8813: Show what extension caused it on errors on event handler | Takeshi KOMIYA | 2021-02-04 | 1 | -1/+3 |
| | | | | | | | | | | Show the module name of the event handler on the error inside it to let users know a hint of the error. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | 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 | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-12-14 | 1 | -2/+0 |
|\ \ | |/ | |||||
| * | refactor: Register events for HTML builders in the HTML builder module | Takeshi KOMIYA | 2020-11-29 | 1 | -2/+0 |
| | | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Do isort | Takeshi KOMIYA | 2020-11-12 | 1 | -2/+1 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-05 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Fix #6914: Emit a detailed warning when failed to resolve :ref: | Takeshi KOMIYA | 2020-11-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Propagate original extension error | David Stansby | 2020-07-11 | 1 | -1/+1 |
| | | |||||
* | | refactor: namedtuples with PEP 526 | Takeshi KOMIYA | 2020-07-16 | 1 | -3/+5 |
| | | | | | | | | | | Apply PEP 526 based variable annotation style to namedtuples. It is available since python 3.6. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-06-04 | 1 | -4/+9 |
|\ \ | |/ | |||||
| * | Add allowed_exceptions parameter to Sphinx.emit() (refs: #7683) | Takeshi KOMIYA | 2020-05-17 | 1 | -4/+10 |
| | | | | | | | | It allows handlers to raise specified exceptions. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-17 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Fix: handle errors on event handlers (refs: #7629) | Takeshi KOMIYA | 2020-05-16 | 1 | -6/+12 |
| | | |||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -11/+2 |
| | | |||||
* | | Hello TYPE_CHECKING! | Takeshi KOMIYA | 2020-03-07 | 1 | -2/+2 |
|/ | |||||
* | Support priority of event handlers | Takeshi KOMIYA | 2020-01-16 | 1 | -10/+18 |
| | |||||
* | 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 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.events | Takeshi KOMIYA | 2019-12-25 | 1 | -14/+9 |
| | |||||
* | refactor: Make app argument for EventManager optional to keep compatibility | Takeshi KOMIYA | 2019-04-16 | 1 | -2/+11 |
| | |||||
* | Make EventManager portable | Takeshi KOMIYA | 2019-04-16 | 1 | -3/+25 |
| | | | | | | 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 '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | 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. | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -7/+6 |
| | | |||||
* | | Remove print_function feature | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+0 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Replace all six.itervalues()/.iteritems() with .values()/.items() | Jon Dufresne | 2018-09-23 | 1 | -4/+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. | ||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 |
|\ | |||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 |
| | | |||||
* | | Add config-inited event | Takeshi KOMIYA | 2018-01-20 | 1 | -0/+1 |
|/ | |||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | Fix #3833: command line messages are translated unintentionally | Takeshi KOMIYA | 2017-06-25 | 1 | -3/+3 |
| |