summaryrefslogtreecommitdiff
path: root/tests/test_domain_std.py
Commit message (Collapse)AuthorAgeFilesLines
* Adopt ``profile = "black"`` for ``isort``Adam Turner2023-01-071-2/+10
| | | | This allows using Ruff's import sorting fixers
* Allow `:ref:` role to be used with definitions and fields (#10781)Jeremy Maitin-Shepard2022-09-061-0/+40
|
* `.read_text()` -> `.read_text(encoding='utf8')`Adam Turner2022-04-271-1/+1
|
* Merge pull request #10178 from stephenfin/issue-10177Takeshi KOMIYA2022-03-271-9/+0
|\ | | | | Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
| * Revert "Close #9993: std domain: Allow to refer an inline target via ref role"Stephen Finucane2022-02-081-9/+0
| | | | | | | | | | | | | | | | | | This reverts commit e3ee8b378a37958f48d97d74a5c264f1f02e153e. This is a breaking change that should not have been introduced in a minor release (or arguably at all, given the impact). Signed-off-by: Stephen Finucane <stephen@that.guru> Closes: #10177
* | 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
|/
* Fix #9981: std domain: Strip value part of the option directive from genindexTakeshi KOMIYA2022-01-141-4/+5
|
* test: Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-2/+2
|
* Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-1/+1
| | | | | | | | 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
|
* Close #9993: std domain: Allow to refer an inline target via ref roleTakeshi KOMIYA2021-12-211-0/+9
|
* Add doc and testcase for program directive (refs: #9137)Takeshi KOMIYA2021-04-281-0/+17
| | | | | | There is no docs and testcases for "None" argument of the program directive. It has been implemented since very old version. But it's not documented and tested long.
* Merge branch '3.x'Takeshi KOMIYA2021-01-241-0/+16
|\
| * Add testcase.Guillaume Melquiond2021-01-231-0/+16
| |
* | Merge branch '3.x'Takeshi KOMIYA2021-01-161-0/+10
|\ \ | |/
| * Fix #8651: cross-reference for a rubric having inline item is brokenTakeshi KOMIYA2021-01-111-0/+10
| | | | | | | | | | | | | | | | | | The implementation of the standard domain so far has considered the first child of the rubric node is the title of the rubric. But it can may multiple nodes when the rubric title is marked up. This extracts the title of the rubric from the whole of the children of it.
* | 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-12-141-0/+22
|\ \ | |/
| * Fix #8352: std domain: Failed to parse an option that starts with bracketTakeshi KOMIYA2020-11-291-0/+22
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-211-1/+1
|\ \ | |/
| * refactor: Fix flake8 violations under tests/ directoryTakeshi KOMIYA2020-11-151-1/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-7/+3
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch '3.x'Takeshi KOMIYA2020-04-191-1/+12
|\ \ | |/
| * Fix #7418: std domain: term role role could not match case-insensitivelyTakeshi KOMIYA2020-04-181-1/+12
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-131-4/+4
|\ \ | |/
| * Fix #7418: std domain: duplication warning for glossary terms is case ↵Takeshi KOMIYA2020-04-091-4/+4
| | | | | | | | insensitive
* | Merge branch '3.x'Takeshi KOMIYA2020-04-061-18/+28
|\ \ | |/
| * Fix #7301: capital characters are not allowed for node_idTakeshi KOMIYA2020-03-291-17/+17
| |
| * Fix #6477: Escape first "!" in a cross reference linking no longer possibleTakeshi KOMIYA2020-03-281-1/+11
| |
* | Deprecate codes for docutils-0.13 or 0.14Takeshi KOMIYA2020-03-071-3/+0
|/
* std domain: Generate node_id for productionlists in the right wayTakeshi KOMIYA2020-03-061-17/+17
|
* refactor: Set source_info to nodesTakeshi KOMIYA2020-02-291-1/+1
|
* test: Use read_text() and read_bytes()Takeshi KOMIYA2020-02-011-2/+2
|
* Fixes from reviewJakob Lykke Andersen2020-01-251-17/+17
|
* Add backslash line continuation to productionlistJakob Lykke Andersen2020-01-221-0/+3
| | | | Fixes sphinx-doc/sphinx#1027
* Implement scoping for productionlistJakob Lykke Andersen2020-01-221-0/+58
| | | | Fixes sphinx-doc/sphinx#3077
* Merge branch '2.0'Takeshi KOMIYA2020-01-081-0/+10
|\
| * Fix #6559: Wrong node-ids are generated in glossary directiveTakeshi KOMIYA2020-01-021-0/+10
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Close #6558: glossary: emit a warning for duplicated glossary entryTakeshi KOMIYA2019-12-291-0/+9
|/
* Fix #6561: glossary: Wrong hyperlinks are generated for non alphanumeric termsTakeshi KOMIYA2019-07-091-0/+11
|
* Close #5592: option directive registers an index entry for each comma ↵Takeshi KOMIYA2019-06-161-12/+14
| | | | separated option
* Add testcase for option directiveTakeshi KOMIYA2019-06-161-1/+42
|