summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-1/+3
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-251-22/+12
|\ \ | |/
| * Migrate to py3 style type annotation: sphinx.cmdlineTakeshi KOMIYA2019-12-251-22/+12
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-11-171-3/+21
|\ \ | |/
| * Close #4683: i18n: make explicit titles in toctree translatableTakeshi KOMIYA2019-11-011-3/+21
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-55/+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-281-2/+2
|\ \ | |/ | | | | | | | | | | resolved Conflicts: doc/development/tutorials/todo.rst sphinx/locale/__init__.py sphinx/search/zh.py
| * Fix various spelling typosjfbu2018-12-271-2/+2
| |
* | 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.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-5/+5
| | | | | | | | | | | | 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-8/+7
| |
* | Deprecate abbreviation node (refs: #5720)Takeshi KOMIYA2018-12-151-4/+13
| |
* | Install abbreviation node forcedlyTakeshi KOMIYA2018-12-051-1/+1
| |
* | refactor: Use app.add_node() to register Sphinx own nodesTakeshi KOMIYA2018-12-051-5/+47
| |
* | Fix annotations (minor fixes)Takeshi KOMIYA2018-12-031-0/+1
| |
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-0/+1
| |
* | Fix annotations for i18nTakeshi KOMIYA2018-12-011-1/+1
| |
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-4/+4
| |