Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unescape quotation marks where possible | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 2 | -2/+2 |
| | |||||
* | Cache doctrees more efficiently | Adam Turner | 2023-01-04 | 1 | -1/+1 |
| | |||||
* | Cosmetic refactor of ``_entries_from_toctree`` | Adam Turner | 2023-01-02 | 1 | -29/+22 |
| | |||||
* | Add faster ``TocTree._toctree_copy`` method (#10988) | hofmandl1 | 2023-01-02 | 1 | -25/+28 |
| | | | | | | | | | | | | | As in the standalone html builder the navigation is flattened out for every single html page, the code needs to create a specialised toctree for every html page. Previously this was done by deep-copying the complete navigation toctree and then stripping out the parts not needed on the particular page. With this change the code only (deep)-copies the needed parts of the toctree avoiding unnecessary copying and throwing-away. The performance improvements seems to be smaller for smaller page counts and get bigger the more pages are involved. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -4/+4 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 2 | -7/+7 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 2 | -18/+18 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 2 | -0/+4 |
| | |||||
* | Update typing ignores for mypy 0.990 | Adam Turner | 2022-11-13 | 1 | -1/+1 |
| | |||||
* | Drop Python 3.7 | Adam Turner | 2022-09-27 | 1 | -2/+2 |
| | |||||
* | Make toctree accept special docnames (#10673) | Brecht Machiels | 2022-09-12 | 1 | -1/+12 |
| | | | | | | 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> | ||||
* | Further improve type annotations, reduce mypy whitelist (#10770) | danieleades | 2022-08-28 | 1 | -1/+1 |
| | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> | ||||
* | Update include_patterns implementation (#10680) | Adam Turner | 2022-07-23 | 1 | -1/+4 |
| | |||||
* | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 2 | -4/+4 |
| | |||||
* | Add `include_patterns` as the opposite of `exclude_patterns` (#10518) | Adam Turner | 2022-07-17 | 1 | -1/+1 |
| | |||||
* | Collapse single line docstrings | Adam Turner | 2022-02-20 | 4 | -8/+4 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 4 | -12/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 4 | -8/+8 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 4 | -8/+4 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 4 | -12/+0 |
| | |||||
* | address some unused loop control variables (B007) | Daniel Eades | 2022-01-12 | 1 | -1/+1 |
| | |||||
* | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -6/+6 |
| | | | | | | | | 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 KOMIYA | 2022-01-01 | 4 | -4/+4 |
| | |||||
* | Support docutils-0.18: Consume iterator of Element.traverse() | Takeshi KOMIYA | 2021-10-27 | 1 | -2/+2 |
| | | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop. | ||||
* | Fix typos discovered by codespell | Christian Clauss | 2021-09-08 | 1 | -1/+1 |
| | |||||
* | Fix typo | Eisuke Kawashima | 2021-07-08 | 1 | -1/+1 |
| | |||||
* | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-05-10 | 1 | -1/+1 |
| | |||||
* | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-05-03 | 1 | -2/+2 |
| | |||||
* | Merge pull request #9053 from tk0miya/title_node_for_toctree_caption | Takeshi KOMIYA | 2021-04-09 | 1 | -1/+1 |
|\ | | | | | Fix #8870: Use title node for the caption of toctree | ||||
| * | Fix #8870: Use title node for the caption of toctree | Takeshi KOMIYA | 2021-04-09 | 1 | -1/+1 |
| | | | | | | | | | | Since docutils-0.17, the caption node should not use for the non-figure nodes. Therefore, this replaces it by the title node. | ||||
* | | refactor: Use PEP-526 based variable annotation (sphinx.environment) | Takeshi KOMIYA | 2021-03-25 | 2 | -6/+6 |
| | | |||||
* | | Close #8326: Rename master_doc to root_doc | Takeshi KOMIYA | 2021-02-28 | 1 | -1/+1 |
| | | | | | | | | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-16 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Deal with empty string case. | Jean Kossaifi | 2021-01-09 | 1 | -1/+1 |
| | | |||||
| * | Cast maxdepth to int in toctree | Jean Kossaifi | 2021-01-09 | 1 | -0/+2 |
| | | | | | | | | When specifying the max-depth for the toctree in theme.conf that isn't automatically cast to int, causing a hard to locate error. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 4 | -4/+4 |
|\ \ | |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 4 | -4/+4 |
| | | | | | | | | | | | | | | .. 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 KOMIYA | 2020-11-12 | 2 | -7/+4 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 2 | -7/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 KOMIYA | 2020-07-24 | 1 | -5/+9 |
|\ \ | |/ | |||||
| * | Fix #2050: Symbols sections are appeared twice in the index page | Takeshi KOMIYA | 2020-07-18 | 1 | -5/+9 |
| | | | | | | | | | | | | Multibyte symbols are categorized to independent symbols section different to single byte symbols. This integrate them to a single section. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix #7410: Allow to suppress "circular toctree references detected" warnings | Takeshi KOMIYA | 2020-04-12 | 1 | -1/+1 |
| | | |||||
* | | Hello TYPE_CHECKING! | Takeshi KOMIYA | 2020-03-07 | 1 | -3/+2 |
|/ | |||||
* | refactor: Sorting index entries | Takeshi KOMIYA | 2020-03-01 | 1 | -2/+2 |
| | |||||
* | Close #7220: genindex: Show "main" index entries at first | Takeshi KOMIYA | 2020-02-29 | 1 | -3/+12 |
| | |||||
* | refactor: Rename var keyword argument to "**kwargs" | Takeshi KOMIYA | 2020-01-08 | 1 | -7/+7 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 4 | -4/+4 |
| | |||||
* | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -3/+3 |
| |