summaryrefslogtreecommitdiff
path: root/sphinx/util/docutils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix #8342: Emit a warning if a unknown domain is given for directive or role8342_warning_for_unknown_domainTakeshi KOMIYA2020-10-281-0/+3
| | | | | | | | Currently, Sphinx mention nothing if users use unknown domain in their documents (ex. `.. unknown:directive::`, `:unknown:role` and so on). This starts to warn them to be clear non acceptable mark-ups. refs: #8342
* Merge branch '3.x'Takeshi KOMIYA2020-08-011-1/+1
|\
| * Fix typoFabio Utzig2020-07-271-1/+1
| | | | | | | | Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
* | Merge branch '3.x'Takeshi KOMIYA2020-07-241-1/+1
|\ \ | |/
| * fix typoTetsuo Koyama2020-07-191-1/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-111-1/+2
|\ \ | |/
| * Fix #7619: Duplicated node IDs are generated if node has multiple IDsTakeshi KOMIYA2020-07-091-1/+2
| |
* | refactor: Update type annotationsTakeshi KOMIYA2020-05-021-15/+15
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-061-0/+4
|\ \ | |/
| * Fix #6477: Escape first "!" in a cross reference linking no longer possibleTakeshi KOMIYA2020-03-281-0/+4
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-03-231-4/+0
|\ \ | |/
| * Merge branch '2.x' into 3.xTakeshi KOMIYA2020-03-221-4/+0
| |\
| | * Fix #7343: Sphinx builds has been slower since 2.4.0 on debug modeTakeshi KOMIYA2020-03-201-4/+0
| | | | | | | | | | | | | | | For now, the debug log from SphinxTranslator does not help developers. So this disable the log outputs. Let's reconsider if we'll need it.
* | | Merge branch '3.x'Takeshi KOMIYA2020-03-211-4/+9
|\ \ \ | |/ /
| * | C and C++ domains, change to new loggingJakob Lykke Andersen2020-03-171-4/+9
| | | | | | | | | | | | Also add get_source_info() to SphinxDirective and SphinxRole
* | | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-3/+2
| | |
* | | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-2/+1
|/ /
* | Merge branch '2.x' into 3.xTakeshi KOMIYA2020-03-011-4/+4
|\ \ | |/
| * Fix #7223: Sphinx builds has been slower since 2.4.0Takeshi KOMIYA2020-02-291-4/+4
| |
* | refactor: Update type annotations in sphinx.util.*Takeshi KOMIYA2020-02-231-4/+6
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-191-1/+40
|\ \ | |/
| * SphinxTranslator calls visitor/departure method for super node classTakeshi KOMIYA2020-01-101-1/+40
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-011-2/+2
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-2/+4
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-11-171-2/+1
|\ \ | |/
| * Don't return False always on __exit__()Takeshi KOMIYA2019-10-201-2/+1
| | | | | | | | | | | | | | | | According to the python/mypy#7214, mypy-0.740 prefers a return value of __exit__() method which does not swallow exceptions is None instead of bool. mypy#7214: https://github.com/python/mypy/issues/7214
* | Merge branch '2.0'Takeshi KOMIYA2019-10-201-1/+1
|\ \ | |/
| * Fix mypy violations (for mypy-0.740)Takeshi KOMIYA2019-10-201-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-10-061-8/+8
|\ \ | |/
| * Fix mypy violations (for mypy-0.730)Takeshi KOMIYA2019-10-061-8/+8
| |
* | Merge branch '2.0'jfbu2019-08-011-7/+8
|\ \ | |/
| * Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-7/+8
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-07-131-8/+8
|\ \ | |/
| * Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-07-131-8/+8
| |\
| | * Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-8/+8
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-06-151-10/+10
|\ \ \ | |/ /
| * | Fix #6486: UnboundLocalError is raised if broken extension installedTakeshi KOMIYA2019-06-151-1/+1
| | |
| * | refactor: correct interface of directive() and role() to docutils'Takeshi KOMIYA2019-06-091-9/+9
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-06-091-92/+57
|\ \ \ | |/ /
| * | Migrate to py3 style type annotation: sphinx.util.docutilsTakeshi KOMIYA2019-06-031-94/+58
| |/
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-24/+2
|/
* Merge branch '2.0'Takeshi KOMIYA2019-03-071-1/+0
|\
| * Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+0
| |
* | Add a helper method ``SphinxDirective.set_source_info()``Takeshi KOMIYA2019-03-031-0/+5
|/
* docs: Add SphinxRole and ReferenceRoleTakeshi KOMIYA2019-02-161-1/+14
|
* refactor: Rename the first argument of roles to `name`Takeshi KOMIYA2019-02-161-9/+9
| | | | | In docutils' document, it is called as name. So our base class should call it as "name" also.
* Replace :pep: and :rfc: roles by class based implementationTakeshi KOMIYA2019-02-161-2/+11
|
* Replace :index: role by class based implementationTakeshi KOMIYA2019-02-161-0/+33
|
* Add SphinxRoleTakeshi KOMIYA2019-02-061-2/+41
|