summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow multi-line object description signatures (#11011)TLouf2023-05-111-1/+6
| | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com> Co-authored-by: TLouf <loufthomas@gmail.com>
* Replace deprecation tooling with module level ``__getattr__`` (#11054)Adam Turner2023-01-081-12/+16
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-1/+1
|
* Use PEP 604 typesAdam Turner2023-01-011-2/+2
|
* Use PEP 595 typesAdam Turner2023-01-011-6/+6
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-1/+1
|
* Increase minimum Docutils to 0.18Adam Turner2022-09-271-17/+12
|
* Increase minimum Docutils to 0.17Adam Turner2022-09-271-14/+3
|
* Docstring clarifications (#9877)Arthur Milchior2022-09-241-22/+21
| | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com> Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* set up mypy for incremental adoption of 'strict optional'daniel.eades2022-07-261-2/+2
|
* Use docutils.__version_info__ directlyAdam Turner2022-04-221-3/+1
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* address some unused loop control variables (B007)Daniel Eades2022-01-121-1/+1
|
* i18n: meta strings are not translated with docutils-0.18Takeshi KOMIYA2022-01-021-0/+7
| | | | | | | i18n feature for meta strings does not work if docutils-0.18 used. Note: Since docutils-0.18, patch for meta directive is no longer needed because it uses a picklable meta nodes; ``docutils.nodes.meta``.
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Fix #9718: intersphinx: Failed to invoke sphinx.ext.intersphinx moduleTakeshi KOMIYA2021-10-091-2/+2
| | | | | A circular import was happened since #9701 merged. This goes lazy-import to avoid the error.
* Support docutils-0.18; Meta directive and meta node has movedTakeshi KOMIYA2021-10-031-1/+5
|
* Decl styling, disable smart quoting in sigsJakob Lykke Andersen2021-04-121-1/+1
|
* Decl styling, fixes from reviewJakob Lykke Andersen2021-04-121-2/+2
|
* Fix desc_sig_spaceJakob Lykke Andersen2021-04-121-2/+3
|
* Decl styling, use a post-transform to get the domain name in the ↵Jakob Lykke Andersen2021-04-121-1/+2
| | | | desc_signature nodes
* Fix flake8 and mypy violationsJakob Lykke Andersen2021-04-121-4/+5
|
* Decl styling, make desc_inline nodeJakob Lykke Andersen2021-04-121-3/+27
| | | | Use the new node for cpp:expr
* Decl styling, move static classes to addnodes from HTML5 writerJakob Lykke Andersen2021-04-121-3/+22
|
* Decl styling, move desc dynamic classes to domain base classJakob Lykke Andersen2021-04-121-0/+3
|
* Decl styling, docs and restructuringJakob Lykke Andersen2021-04-121-20/+43
|
* Decl styling, more nodes and C++ conversionJakob Lykke Andersen2021-04-121-9/+58
|
* refactor: Use PEP-526 based variable annotationTakeshi KOMIYA2021-04-081-2/+2
|
* Add pending_xref_condition nodeTakeshi KOMIYA2021-03-061-0/+48
| | | | | | To choose appropriate content for pending_xref node on resolving, this introduces a new custom node `pending_xref_condition`. It only has a condition for the filtering and contents of the reference.
* 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
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-08-011-2/+1
|\ \ | |/
| * Fix circular import in addnodes.pyJulien Schueller2020-07-281-1/+1
| | | | | | | | Closes #8016
* | Merge branch '3.x'Takeshi KOMIYA2020-07-111-0/+28
|\ \ | |/
| * Fix #7619: Duplicated node IDs are generated if node has multiple IDsTakeshi KOMIYA2020-07-091-0/+27
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-05-171-0/+10
|\ \ | |/
| * Fix astext() for two Sphinx nodesJakob Lykke Andersen2020-05-141-0/+10
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-18/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-03-211-2/+30
|\ \ | |/
| * C, flake and mypy fixes, rename attr in desc_signature_lineJakob Lykke Andersen2020-03-151-1/+1
| |
| * Add desc_sig_element and inherited nodesTakeshi KOMIYA2020-03-141-1/+29
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-2/+2
|/
* Merge branch '2.0'Takeshi KOMIYA2020-01-011-2/+4
|\
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |