Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Resolve ``flake8-return`` errors | Adam Turner | 2023-02-18 | 2 | -2/+2 |
| | |||||
* | Unescape quotation marks where possible | Adam Turner | 2023-02-18 | 2 | -2/+2 |
| | |||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 4 | -6/+6 |
| | |||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 2 | -2/+2 |
| | |||||
* | Collapse ``.startswith`` and ``.endswith`` tests | Adam Turner | 2023-02-09 | 1 | -1/+1 |
| | |||||
* | Cache doctrees between reading and writing phases | Adam Turner | 2023-01-04 | 1 | -1/+9 |
| | |||||
* | Cache doctrees more efficiently | Adam Turner | 2023-01-04 | 2 | -10/+15 |
| | |||||
* | Rewrite IndexBuilder loading | Adam Turner | 2023-01-02 | 1 | -0/+19 |
| | |||||
* | Cosmetic refactor of ``_entries_from_toctree`` | Adam Turner | 2023-01-02 | 1 | -29/+22 |
| | |||||
* | Don't re-read doctrees from disk unnecessarily | Adam Turner | 2023-01-02 | 1 | -5/+12 |
| | | | | Cache the loaded doctree and deepcopy on return | ||||
* | 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 | 3 | -22/+22 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 5 | -26/+26 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 9 | -96/+94 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 9 | -0/+18 |
| | |||||
* | Allow line breaks before binary operators | Adam Turner | 2022-12-29 | 1 | -1/+1 |
| | |||||
* | remove blanket 'noqas' | Daniel Eades | 2022-12-16 | 1 | -1/+1 |
| | |||||
* | Update typing ignores for mypy 0.990 | Adam Turner | 2022-11-13 | 1 | -1/+1 |
| | |||||
* | Run the ``pyupgrade`` tool | Adam Turner | 2022-10-17 | 1 | -1/+2 |
| | |||||
* | Merge branch '5.x' | Adam Turner | 2022-09-30 | 1 | -1/+4 |
|\ | | | | | | | | | # Conflicts: # sphinx/locale/__init__.py | ||||
| * | Finer grained control over domain ToC entries (#10886) | Adam Turner | 2022-09-30 | 1 | -1/+4 |
| | | | | | | | | | | - Implement `:nocontentsentry:` flag - Use `:nocontentsentry:` in docs - Add domain object table of contents configuration option | ||||
* | | Increase minimum Docutils to 0.18 | Adam Turner | 2022-09-27 | 1 | -3/+0 |
| | | |||||
* | | Drop Python 3.7 | Adam Turner | 2022-09-27 | 2 | -3/+3 |
| | | |||||
* | | Merge branch '5.x' | Adam Turner | 2022-09-23 | 3 | -32/+149 |
|\ \ | |/ | | | | | | | | | # Conflicts: # setup.py # sphinx/__init__.py | ||||
| * | Fix section numbering in domain object contents entries (#10830) | Adam Turner | 2022-09-20 | 1 | -1/+4 |
| | | |||||
| * | Fix nesting in domain object contents entries (#10828) | Adam Turner | 2022-09-20 | 1 | -2/+1 |
| | | |||||
| * | Add contents entries for domain objects (#10807) | Adam Turner | 2022-09-13 | 1 | -27/+71 |
| | | | | | | | | | | | | | | | | | | - 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 Machiels | 2022-09-12 | 2 | -1/+17 |
| | | | | | | | | | | | | 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> | ||||
| * | Privatise type (`DomainsType` -> `_DomainsType`) | Adam Turner | 2022-09-12 | 1 | -5/+5 |
| | | |||||
| * | More precise typing for `BuildEnvironment.domains` (#10813) | Adam Turner | 2022-09-09 | 2 | -4/+59 |
| | | |||||
* | | Merge branch '5.x' | Adam Turner | 2022-09-09 | 3 | -14/+25 |
|\ \ | |/ | | | | | | | | | | | | | | | # Conflicts: # setup.py # sphinx/application.py # sphinx/environment/__init__.py # sphinx/ext/autodoc/directive.py # tests/test_build_html.py | ||||
| * | search: support searching for (sub)titles (#10717) | Martin Liška | 2022-09-09 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> | ||||
| * | Further improve type annotations, reduce mypy whitelist (#10770) | danieleades | 2022-08-28 | 3 | -14/+25 |
| | | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> | ||||
* | | Merge branch '5.x' | Adam Turner | 2022-07-24 | 1 | -1/+4 |
|\ \ | |/ | | | | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py | ||||
| * | Update include_patterns implementation (#10680) | Adam Turner | 2022-07-23 | 1 | -1/+4 |
| | | |||||
* | | Merge branch '5.x' | Adam Turner | 2022-07-18 | 2 | -4/+4 |
|\ \ | |/ | | | | | | | | | # Conflicts: # sphinx/ext/autodoc/__init__.py # sphinx/writers/html5.py | ||||
| * | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 2 | -4/+4 |
| | | |||||
* | | Merge branch '5.x' | Adam Turner | 2022-07-17 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Add `include_patterns` as the opposite of `exclude_patterns` (#10518) | Adam Turner | 2022-07-17 | 2 | -2/+2 |
| | | |||||
* | | Merge branch '5.x' into master | Jean-François B | 2022-06-30 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | | | | | Resolved merge conflicts: sphinx/ext/extlinks.py sphinx/ext/napoleon/docstring.py (and removed from the latter a now unused import for flake8 F401 compliance) | ||||
| * | Use the `flake8-comprehensions` lint plugin (#10601) | danieleades | 2022-06-26 | 1 | -2/+2 |
| | | |||||
* | | Remove deprecated items for Sphinx 6.0 (#10471) | Adam Turner | 2022-06-16 | 1 | -8/+2 |
|/ | |||||
* | Prefer `image_loading` over `embed_images` | Adam Turner | 2022-04-22 | 1 | -1/+4 |
| | |||||
* | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-19 | 11 | -100/+12 |
|\ | |||||
| * | environment: Update default value for pep_base_url | Michal Čihař | 2022-03-16 | 1 | -1/+1 |
| | | | | | | | | | | | | This matches docutils change in https://sourceforge.net/p/docutils/code/9045/ Fixes #10253 | ||||
| * | Collapse single line docstrings | Adam Turner | 2022-02-20 | 11 | -22/+11 |
| | | |||||
| * | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 11 | -33/+0 |
| | | |||||
| * | Fix module docstring indentation | Adam Turner | 2022-02-20 | 11 | -22/+22 |
| | | |||||
| * | Fix module docstring first line | Adam Turner | 2022-02-20 | 11 | -22/+11 |
| | | |||||
| * | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 11 | -33/+0 |
| | |