summaryrefslogtreecommitdiff
path: root/sphinx/ext/todo.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix COM812Adam Turner2023-02-181-1/+1
|
* Use PEP 595 typesAdam Turner2023-01-011-8/+8
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Factor out HTML 4 translator (#11051)Adam Turner2022-12-301-3/+3
| | | Move the HTML 4 translator into a private module.
* Deactivate (provisorily) Python12-dev testing (#11035)Jean-François B2022-12-161-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 Turner2022-04-221-2/+2
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Conform to PEP 257 summary line conventionsAdam Turner2022-02-201-4/+5
|
* Fix module docstring indentationAdam Turner2022-02-201-5/+5
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-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 KOMIYA2022-01-011-1/+1
|
* Support docutils-0.18: Consume iterator of Element.traverse()Takeshi KOMIYA2021-10-271-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 annotationTakeshi KOMIYA2021-04-081-2/+2
|
* refactor: Add a type alias for the option_spec of directives; OptionSpecTakeshi KOMIYA2021-03-131-2/+3
|
* Merge branch '3.x' into master_with_merged_3.xjfbu2021-02-021-7/+14
|\
| * Fix #8782: todo: Cross references in todolist get brokenTakeshi KOMIYA2021-02-021-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 KOMIYA2021-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2021-01-011-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 KOMIYA2020-11-121-2/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-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() callTakeshi KOMIYA2020-05-031-4/+5
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-104/+1
|/
* Fix #7195: todo: emit doctree-resolved event with non-document node incorrectlyTakeshi KOMIYA2020-02-221-2/+7
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Make escape() and hlescape() as public APIs of texescapeTakeshi KOMIYA2019-11-161-4/+4
|
* Fix #6738: Use get_encode_func in todo extensionTakeshi KOMIYA2019-11-161-2/+3
|
* Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-2/+2
|
* Migrate to py3 style type annotation: sphinx.ext.todoTakeshi KOMIYA2019-07-041-47/+29
|
* refactor: todo: Add TodoListProcessor to expand todolist nodesTakeshi KOMIYA2019-06-031-3/+71
|
* refactor: todo: Add TodoDomain to collect todo nodesTakeshi KOMIYA2019-06-021-14/+48
|
* refactor: todo: Skip over todo_node on writing handlers (not removal)Takeshi KOMIYA2019-06-021-13/+15
|
* Make EventManager portableTakeshi KOMIYA2019-04-161-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:`` optionTakeshi KOMIYA2019-03-241-33/+10
|
* Merge pull request #6129 from tk0miya/refactor_util.nodesTakeshi KOMIYA2019-03-071-2/+1
|\ | | | | Refactor util.nodes
| * Add a helper method ``SphinxDirective.set_source_info()``Takeshi KOMIYA2019-03-031-2/+1
| |
* | refactor: move NoUri to sphinx.errorsTakeshi KOMIYA2019-03-021-1/+1
|/
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge branch '1.8'jfbu2018-12-231-1/+4
|\ \ | |/ | | | | | | (Resolved) Conflicts: sphinx/texinputs/sphinxmanual.cls
| * Fix #5800: todo: crashed if todo is defined in TextElementTakeshi KOMIYA2018-12-221-1/+4
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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 stringsTakeshi KOMIYA2018-12-161-2/+2
| |
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-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 KOMIYA2018-12-151-5/+4
| |
* | Fix annotations (minor fixes)Takeshi KOMIYA2018-12-031-1/+1
| |
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-2/+2
| |
* | Fix annotations for extensionsTakeshi KOMIYA2018-12-011-5/+7
| |
* | Fix annotations for minor methods and functionsTakeshi KOMIYA2018-11-301-2/+2
| |