summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Split out `sphinx_highlight.js`Adam Turner2022-09-243-3/+3
|
* Clear `record_dependencies` for each document (#10855)Adam Turner2022-09-245-0/+24
|
* Deprecate HTML 4 support (#10843)Adam Turner2022-09-231-0/+10
|
* imgmath: Allow embedding images in HTML as base64 (#10816)Julien Schueller2022-09-231-0/+18
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Support searching for index entries (#10819)Adam Turner2022-09-201-2/+4
|
* Add contents entries for domain objects (#10807)Adam Turner2022-09-135-2/+85
| | | | | | | | | - Add entries in the table of contents for domain objects (e.g. `py:function`, `rst:role`, etc). Supported domains are Javascript, Python, and reStructuredText. - Support content in `py:module` and `js:module` directives. - Add the `noindexentry` and `noindex` flags to more domains. - Add `toc_object_entries_show_parents` configuration setting - Update documentation and tests
* Make toctree accept special docnames (#10673)Brecht Machiels2022-09-124-0/+37
| | | | | | The `.. toctree::` directive now supports the reserved special docnames 'genindex', 'modindex', and 'search'. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Remove Pygments compatability code (#10812)Adam Turner2022-09-092-33/+11
|
* search: support searching for (sub)titles (#10717)Martin Liška2022-09-091-2/+4
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Allow `:ref:` role to be used with definitions and fields (#10781)Jeremy Maitin-Shepard2022-09-061-0/+40
|
* Remove unneeded `noqa` lint suppression comments (#10772)danieleades2022-08-2817-36/+36
|
* Further improve type annotations, reduce mypy whitelist (#10770)danieleades2022-08-281-1/+1
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* linkcheck: Check the source URL of raw directivesn-peugnet2022-08-172-4/+17
| | | | | | Add raw directives' source URL to the list of links to check with linkcheck. By the way, refactor HyperlinkCollector by adding `add_uri` function. Add test for linkcheck raw directives source URL
* Properly support `of` in docstring type specifiers (#10738)ProGamerGov2022-08-022-0/+117
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Merge branch '5.1.x' into 5.xJean-François B2022-08-012-7/+13
|\
| * Fix flake8 5.0.0 reported formatting errorsdaniel.eades2022-08-012-7/+13
| |
* | C++, restructure testsJakob Lykke Andersen2022-07-291-34/+32
| |
* | C++, fix parsing of certain non-type template parametersJakob Lykke Andersen2022-07-291-3/+4
| | | | | | | | Specifically 'template<int (X::*)(bool)...>'
* | C++, ensure merging case is as assumedJakob Lykke Andersen2022-07-291-8/+8
| |
* | [C++] Ensure consistent non-specialization template argument representationJeremy Maitin-Shepard2022-07-291-3/+89
| | | | | | | | | | Previously, in certain cases the template arguments of non-specializations were retained, leading to incorrect merging of symbols.
* | [C++] Allow template prefix on union declarationsJeremy Maitin-Shepard2022-07-241-0/+3
| |
* | [C++] Allow trailing requires-clause on constructorsJeremy Maitin-Shepard2022-07-241-0/+2
| |
* | [C++] Allow trailing-requires-clause on functions without a template prefixJeremy Maitin-Shepard2022-07-241-0/+2
| |
* | [C++] Support requires-clause in more placesJeremy Maitin-Shepard2022-07-241-0/+18
|/ | | | | | | | | | | | | | | | | | | | | | | Previously a C++20 requires-clause was only supported on `function` declarations. However, the C++ standard allows a require-clause on class/union templates, alias templates, and variable templates, and also allows a requires clause after each template parameter list, not just the final one. This moves the requiresClause to be a property of `ASTTemplateParams` rather than `ASTDeclaration` to better match the C++ grammar and allows requires clauses in many places that are supported by C++20 but were not previously allowed by Sphinx, namely: - On class templates, alias templates, and variable templates - After each template parameter list, not just the last one. - After the template parameter list in template template parameters. When encoding the id, the requires clause of the last template parameter list is treated specially in order to preserve compatibility with existing v4 ids.
* Update include_patterns implementation (#10680)Adam Turner2022-07-231-8/+8
|
* Add `include_patterns` as the opposite of `exclude_patterns` (#10518)Adam Turner2022-07-171-1/+93
|
* Allow specifying multiple CSS files in themes (#10465)Takeshi KOMIYA2022-07-176-0/+16
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Lint with `flake8-bugbear` (#10602)danieleades2022-07-1210-22/+22
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Make `-P` (pdb) work better with exceptions triggered from eventsJeremy Maitin-Shepard2022-07-041-1/+22
| | | | | | | | | | | | Previously, if an exception was raised from an event listener, and the `-P` option was specified, the debugger would be started not for the original error but for the `ExtensionError` wrapping it that was raised by `EventManager.emit`. That made it difficult to debug the error. With this change, when `-P` is specified, wrapping of errors in `ExtensionError` is disabled, which allows pdb to debug the original error.
* Use the `flake8-comprehensions` lint plugin (#10601)danieleades2022-06-262-3/+3
|
* py domain: Ignore aliases for resolving `:any:` cross-references (#10089)Joachim Jablon2022-06-261-0/+3
| | | | Co-authored-by: Joachim Jablon <joachim.jablon@people-doc.com>
* Replace `napoleon.iterators` by simpler stack implementation (#9856)Antony Lee2022-06-261-0/+9
|
* Ensure ObjectDescription signature nodes include line numbers (#10249)Jeremy Maitin-Shepard2022-06-231-0/+14
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Fix parsing of options with enabled option_emphasise_placeholders (#10565)Martin Liška2022-06-191-0/+5
|
* Fix usage of enable_search_shortcuts theme config value.marxin2022-06-171-0/+20
| | | | The option value is not properly propagated to Java script.
* Remove traces of Python 2 and 3.5 (#10560)Adam Turner2022-06-161-16/+8
|
* Show the repr of the value in some warnings (#10439)Ezio Melotti2022-06-165-7/+7
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Allow emphasising placeholders in `option` directives (#10366)Martin Liška2022-06-162-0/+31
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* logging: always show source locations as absolute paths (#10460)Doug Hellmann2022-06-161-1/+17
|
* Increase static typing strictness (#10530)Adam Turner2022-06-164-8/+36
|
* Merge pull request #10551 from AA-Turner/fix-extra-whitespaceTakeshi KOMIYA2022-06-172-5/+32
|\ | | | | Remove extra space from the unparser
| * Special case `**`Adam Turner2022-06-152-1/+10
| |
| * Add higher level testAdam Turner2022-06-151-0/+18
| |
| * Remove extra space from the unparserAdam Turner2022-06-141-4/+4
| |
* | Merge branch '5.0.x' into 5.xTakeshi KOMIYA2022-06-174-0/+84
|\ \
| * | test: Add testcase for autodoc_inherit_docstring and attributes (refs: #10539)Takeshi KOMIYA2022-06-144-0/+84
| | |
* | | remove unnecessary list comprehension (C416)Daniel Eades2022-06-031-9/+9
| | |
* | | remove unnecessary list calls around 'sorted' (C413)Daniel Eades2022-06-031-2/+2
| | |
* | | Merge branch '5.0.x' into 5.xTakeshi KOMIYA2022-06-035-0/+24
|\ \ \ | |/ /
| * | Merge pull request #10502 from AA-Turner/ifconfig-fixTakeshi KOMIYA2022-06-032-0/+11
| |\ \ | | | | | | | | `ifconfig`: Add a meta node to fix iteration