Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Trim duplicate in sphinxlatexadmonitions.sty latex code | Jean-François B | 2023-01-03 | 1 | -5/+0 | |
| | | ||||||
* | | Fix #6744: support for seealso directive should be via an environment | Jean-François B | 2023-01-03 | 6 | -4/+31 | |
| | | ||||||
* | | Add 6.1.0 section to CHANGES | Jean-François B | 2023-01-03 | 1 | -0/+21 | |
| | | ||||||
* | | Document ``typing.NewType`` as a class (#10700) | Adam Turner | 2023-01-02 | 7 | -189/+153 | |
| | | ||||||
* | | Document autosummary template variable "objtype" (#11044) | Tim Hoffmann | 2023-01-02 | 1 | -0/+6 | |
| | | ||||||
* | | De-glob mypy whitelist for 'sphinx.domains.*' (#11064) | danieleades | 2023-01-02 | 15 | -98/+164 | |
| | | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | | Shrink mypy whitelist for 'util.nodes' module (#11061) | danieleades | 2023-01-02 | 2 | -6/+5 | |
| | | ||||||
* | | Use PEP 604 display for ``typing.Optional`` and ``typing.Union`` (#11072) | Adam Turner | 2023-01-02 | 12 | -251/+305 | |
| | | ||||||
* | | Make MyPy happy | Adam Turner | 2023-01-02 | 2 | -6/+6 | |
| | | ||||||
* | | Move tasks into parallel writing | Adam Turner | 2023-01-02 | 1 | -9/+8 | |
| | | ||||||
* | | Rewrite IndexBuilder loading | Adam Turner | 2023-01-02 | 3 | -65/+159 | |
| | | ||||||
* | | Use ``re`` flags | Adam Turner | 2023-01-02 | 5 | -23/+23 | |
| | | ||||||
* | | 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> | |||||
* | | Use ``finally`` to terminate parallel processes (#10952) | Philip Meier | 2023-01-02 | 1 | -2/+1 | |
| | | ||||||
* | | Address SIM103 lints (#11052) | danieleades | 2023-01-02 | 9 | -60/+15 | |
| | | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | | Shrink 'any-generics' whitelist for 'writers' module (#10867) | danieleades | 2023-01-02 | 4 | -9/+11 | |
| | | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> | |||||
* | | Add SIM905 lint (#11055) | danieleades | 2023-01-02 | 1 | -1/+1 | |
| | | | | | | This lints for use of a list of strings instead of splitting a constant string on whitespace | |||||
* | | Use ``any`` to find elements in iterable (#11053) | danieleades | 2023-01-02 | 9 | -37/+39 | |
| | | ||||||
* | | Fix typos in `usage/configuration.rst` (#10834) | Harrissou Sant-anna | 2023-01-02 | 1 | -3/+3 | |
| | | ||||||
* | | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 124 | -839/+818 | |
| | | ||||||
* | | Remove obsolete HTML keyword ``link rel="shortcut"`` (#11069) | Rotzbua | 2023-01-01 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | The link relationship keyword `shortcut` does not appear in the HTML 5 specification [1]. It was used by historic browsers (i.e. Internet Explorer 6) which Sphinx no longer supports. [1]: HTML5 Specification, 4.6.7.8 Link type "icon", https://html.spec.whatwg.org/#rel-icon | |||||
* | | Clarify licence in Sphinx's metadata (#10956) | Frazer McLean | 2023-01-01 | 1 | -1/+1 | |
| | | | | | | Disambiguate which BSD license is used in a computer-parsable form. | |||||
* | | Use PEP 604 types | Adam Turner | 2023-01-01 | 100 | -581/+567 | |
| | | ||||||
* | | Use PEP 595 types | Adam Turner | 2023-01-01 | 132 | -1530/+1523 | |
| | | ||||||
* | | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 180 | -6/+366 | |
| | | ||||||
* | | Add Pygments version to `sphinx --bug-report` | Adam Turner | 2023-01-01 | 1 | -0/+2 | |
| | | ||||||
* | | Update GitHub bug report template | Adam Turner | 2023-01-01 | 1 | -4/+6 | |
| | | ||||||
* | | Happy New Year! | Adam Turner | 2023-01-01 | 42 | -42/+42 | |
| | | ||||||
* | | Make copyright text inclusion test date-independent | Adam Turner | 2023-01-01 | 2 | -2/+2 | |
| | | | | | | | | Improve clarity on what the test is looking for in the footer | |||||
* | | Merge branch '6.0.x' | Adam Turner | 2023-01-01 | 3 | -11/+29 | |
|\ \ | |/ | ||||||
| * | Fix tests for Pygments 2.14 | Adam Turner | 2023-01-01 | 3 | -11/+29 | |
| | | | | | | | | | | | | Pygments 2.14 was released on 01/01/2023 [0] [0]: https://pygments.org/docs/changelog/#version-2-14-0 | |||||
* | | Add the ``SIM300`` lint (#11058) | danieleades | 2023-01-01 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | ``SIM300`` is 'yoda conditions' [0]. These have already been fixed in this repo, but we might as well add the lint to prevent them being inadvertently re-added. [0]: https://github.com/MartinThoma/flake8-simplify#SIM300 | |||||
* | | Fix ``SIM904``, directly construct dicts (#11059) | danieleades | 2023-01-01 | 2 | -6/+5 | |
| | | ||||||
* | | Merge branch '6.0.x' | Adam Turner | 2022-12-31 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Update removal note for logo and favicon variables (#11063) | Viktor Haag | 2022-12-31 | 1 | -2/+2 | |
| | | | | | | These were removed in Sphinx 6.0.0 | |||||
* | | Re-enable CI testing with Python 3.12 alphas | Adam Turner | 2022-12-30 | 1 | -0/+1 | |
| | | | | | | | | This partially reverts commit 7418d2ccc461b5a9a47dd18563de52f5434cfb3a | |||||
* | | Reflect changes to ``Enum`` signature in Python 3.12 | Adam Turner | 2022-12-30 | 1 | -1/+4 | |
| | | ||||||
* | | Add test for multi-word key names (``kbd`` role) (#10765) | John Gardner | 2022-12-30 | 1 | -0/+8 | |
| | | ||||||
* | | Factor out HTML 4 translator (#11051) | Adam Turner | 2022-12-30 | 14 | -887/+907 | |
| | | | | | | Move the HTML 4 translator into a private module. | |||||
* | | Fix lookup table for multi-word key names (``kbd`` role) (#10962) | textshell | 2022-12-30 | 1 | -4/+4 | |
| | | | | | | | | | | It seems the original PR adding multi word key support forgot to add commas and python helpfully just concatenated the strings instead of building the required tuples. | |||||
* | | Enable Ruff's pylint 'PLC2201' check | Adam Turner | 2022-12-30 | 9 | -113/+119 | |
| | | | | | | | | Address all cases where the comparison order check is violated | |||||
* | | Remove redundant import aliases with `isort` | Adam Turner | 2022-12-29 | 1 | -0/+1 | |
| | | ||||||
* | | Enable Ruff's pyupgrade checks | Adam Turner | 2022-12-29 | 1 | -0/+1 | |
| | | ||||||
* | | Enable Ruff's flake8-debugger checks | Adam Turner | 2022-12-29 | 2 | -1/+2 | |
| | | ||||||
* | | Enable Ruff's flake8-bandit checks | Adam Turner | 2022-12-29 | 4 | -7/+11 | |
| | | ||||||
* | | Enable Ruff's pylint checks | Adam Turner | 2022-12-29 | 8 | -12/+11 | |
| | | | | | | | | | | Also fix two PLW0602 warnings (``global`` without assignment) and five PLW0120 warnings (else clause on loop without break). | |||||
* | | Enable Ruff's pygrep-hooks checks | Adam Turner | 2022-12-29 | 4 | -4/+7 | |
| | | ||||||
* | | Tighten mypy 'strict optional' whitelist (#11038) | danieleades | 2022-12-29 | 6 | -36/+91 | |
| | | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> |