Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -8/+8 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Factor out HTML 4 translator (#11051) | Adam Turner | 2022-12-30 | 1 | -3/+3 |
| | | | Move the HTML 4 translator into a private module. | ||||
* | Deactivate (provisorily) Python12-dev testing (#11035) | Jean-François B | 2022-12-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | * fix flake8 warnings * Deactivate (provisorily) testing with 3.12-dev (refs: https://github.com/sphinx-doc/sphinx/pull/10995#issuecomment-1330310586 ) * Escape # in tox.ini for tox 4 compatibility ('du-latest' tests) Co-authored-by: Daniel Eades <danieleades@hotmail.com> | ||||
* | `rawsource` is deprecated in `docutils.nodes.Text` | Adam Turner | 2022-04-22 | 1 | -2/+2 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Conform to PEP 257 summary line conventions | Adam Turner | 2022-02-20 | 1 | -4/+5 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -5/+5 |
| | |||||
* | 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 |
| | |||||
* | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -3/+3 |
| | | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it. | ||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Support docutils-0.18: Consume iterator of Element.traverse() | Takeshi KOMIYA | 2021-10-27 | 1 | -1/+1 |
| | | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop. | ||||
* | refactor: Use PEP-526 based variable annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -2/+2 |
| | |||||
* | refactor: Add a type alias for the option_spec of directives; OptionSpec | Takeshi KOMIYA | 2021-03-13 | 1 | -2/+3 |
| | |||||
* | Merge branch '3.x' into master_with_merged_3.x | jfbu | 2021-02-02 | 1 | -7/+14 |
|\ | |||||
| * | Fix #8782: todo: Cross references in todolist get broken | Takeshi KOMIYA | 2021-02-02 | 1 | -7/+14 |
| | | | | | | | | | | On resolving cross reference nodes in todolist, some of them get broken because todo extension does not rewrite the "refdoc" attribute of them. | ||||
* | | 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-11-12 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -2/+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. | ||||
| * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -4/+5 |
| | | |||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -104/+1 |
|/ | |||||
* | Fix #7195: todo: emit doctree-resolved event with non-document node incorrectly | Takeshi KOMIYA | 2020-02-22 | 1 | -2/+7 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Make escape() and hlescape() as public APIs of texescape | Takeshi KOMIYA | 2019-11-16 | 1 | -4/+4 |
| | |||||
* | Fix #6738: Use get_encode_func in todo extension | Takeshi KOMIYA | 2019-11-16 | 1 | -2/+3 |
| | |||||
* | Fix mypy violations (for mypy-0.720) | Takeshi KOMIYA | 2019-07-13 | 1 | -2/+2 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.ext.todo | Takeshi KOMIYA | 2019-07-04 | 1 | -47/+29 |
| | |||||
* | refactor: todo: Add TodoListProcessor to expand todolist nodes | Takeshi KOMIYA | 2019-06-03 | 1 | -3/+71 |
| | |||||
* | refactor: todo: Add TodoDomain to collect todo nodes | Takeshi KOMIYA | 2019-06-02 | 1 | -14/+48 |
| | |||||
* | refactor: todo: Skip over todo_node on writing handlers (not removal) | Takeshi KOMIYA | 2019-06-02 | 1 | -13/+15 |
| | |||||
* | Make EventManager portable | Takeshi KOMIYA | 2019-04-16 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | ``todo`` directive now supports ``:name:`` option | Takeshi KOMIYA | 2019-03-24 | 1 | -33/+10 |
| | |||||
* | Merge pull request #6129 from tk0miya/refactor_util.nodes | Takeshi KOMIYA | 2019-03-07 | 1 | -2/+1 |
|\ | | | | | Refactor util.nodes | ||||
| * | Add a helper method ``SphinxDirective.set_source_info()`` | Takeshi KOMIYA | 2019-03-03 | 1 | -2/+1 |
| | | |||||
* | | refactor: move NoUri to sphinx.errors | Takeshi KOMIYA | 2019-03-02 | 1 | -1/+1 |
|/ | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '1.8' | jfbu | 2018-12-23 | 1 | -1/+4 |
|\ \ | |/ | | | | | | | (Resolved) Conflicts: sphinx/texinputs/sphinxmanual.cls | ||||
| * | Fix #5800: todo: crashed if todo is defined in TextElement | Takeshi KOMIYA | 2018-12-22 | 1 | -1/+4 |
| | | |||||
* | | 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. | ||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -2/+2 |
| | | |||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -5/+4 |
| | | |||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -1/+1 |
| | | |||||
* | | Fix annotations for Directives (Replace N_co with nodes.Node) | Takeshi KOMIYA | 2018-12-01 | 1 | -2/+2 |
| | | |||||
* | | Fix annotations for extensions | Takeshi KOMIYA | 2018-12-01 | 1 | -5/+7 |
| | | |||||
* | | Fix annotations for minor methods and functions | Takeshi KOMIYA | 2018-11-30 | 1 | -2/+2 |
| | |