summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Trim duplicate in sphinxlatexadmonitions.sty latex codeJean-François B2023-01-031-5/+0
| |
* | Fix #6744: support for seealso directive should be via an environmentJean-François B2023-01-036-4/+31
| |
* | Add 6.1.0 section to CHANGESJean-François B2023-01-031-0/+21
| |
* | Document ``typing.NewType`` as a class (#10700)Adam Turner2023-01-027-189/+153
| |
* | Document autosummary template variable "objtype" (#11044)Tim Hoffmann2023-01-021-0/+6
| |
* | De-glob mypy whitelist for 'sphinx.domains.*' (#11064)danieleades2023-01-0215-98/+164
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* | Shrink mypy whitelist for 'util.nodes' module (#11061)danieleades2023-01-022-6/+5
| |
* | Use PEP 604 display for ``typing.Optional`` and ``typing.Union`` (#11072)Adam Turner2023-01-0212-251/+305
| |
* | Make MyPy happyAdam Turner2023-01-022-6/+6
| |
* | Move tasks into parallel writingAdam Turner2023-01-021-9/+8
| |
* | Rewrite IndexBuilder loadingAdam Turner2023-01-023-65/+159
| |
* | Use ``re`` flagsAdam Turner2023-01-025-23/+23
| |
* | Cosmetic refactor of ``_entries_from_toctree``Adam Turner2023-01-021-29/+22
| |
* | Don't re-read doctrees from disk unnecessarilyAdam Turner2023-01-021-5/+12
| | | | | | | | Cache the loaded doctree and deepcopy on return
* | Add faster ``TocTree._toctree_copy`` method (#10988)hofmandl12023-01-021-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 Meier2023-01-021-2/+1
| |
* | Address SIM103 lints (#11052)danieleades2023-01-029-60/+15
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* | Shrink 'any-generics' whitelist for 'writers' module (#10867)danieleades2023-01-024-9/+11
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* | Add SIM905 lint (#11055)danieleades2023-01-021-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)danieleades2023-01-029-37/+39
| |
* | Fix typos in `usage/configuration.rst` (#10834)Harrissou Sant-anna2023-01-021-3/+3
| |
* | Run pyupgrade (#11070)Adam Turner2023-01-02124-839/+818
| |
* | Remove obsolete HTML keyword ``link rel="shortcut"`` (#11069)Rotzbua2023-01-012-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 McLean2023-01-011-1/+1
| | | | | | Disambiguate which BSD license is used in a computer-parsable form.
* | Use PEP 604 typesAdam Turner2023-01-01100-581/+567
| |
* | Use PEP 595 typesAdam Turner2023-01-01132-1530/+1523
| |
* | Insert ``from __future__ import annotations``Adam Turner2023-01-01180-6/+366
| |
* | Add Pygments version to `sphinx --bug-report`Adam Turner2023-01-011-0/+2
| |
* | Update GitHub bug report templateAdam Turner2023-01-011-4/+6
| |
* | Happy New Year!Adam Turner2023-01-0142-42/+42
| |
* | Make copyright text inclusion test date-independentAdam Turner2023-01-012-2/+2
| | | | | | | | Improve clarity on what the test is looking for in the footer
* | Merge branch '6.0.x'Adam Turner2023-01-013-11/+29
|\ \ | |/
| * Fix tests for Pygments 2.14Adam Turner2023-01-013-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)danieleades2023-01-011-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)danieleades2023-01-012-6/+5
| |
* | Merge branch '6.0.x'Adam Turner2022-12-311-2/+2
|\ \ | |/
| * Update removal note for logo and favicon variables (#11063)Viktor Haag2022-12-311-2/+2
| | | | | | These were removed in Sphinx 6.0.0
* | Re-enable CI testing with Python 3.12 alphasAdam Turner2022-12-301-0/+1
| | | | | | | | This partially reverts commit 7418d2ccc461b5a9a47dd18563de52f5434cfb3a
* | Reflect changes to ``Enum`` signature in Python 3.12Adam Turner2022-12-301-1/+4
| |
* | Add test for multi-word key names (``kbd`` role) (#10765)John Gardner2022-12-301-0/+8
| |
* | Factor out HTML 4 translator (#11051)Adam Turner2022-12-3014-887/+907
| | | | | | Move the HTML 4 translator into a private module.
* | Fix lookup table for multi-word key names (``kbd`` role) (#10962)textshell2022-12-301-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' checkAdam Turner2022-12-309-113/+119
| | | | | | | | Address all cases where the comparison order check is violated
* | Remove redundant import aliases with `isort`Adam Turner2022-12-291-0/+1
| |
* | Enable Ruff's pyupgrade checksAdam Turner2022-12-291-0/+1
| |
* | Enable Ruff's flake8-debugger checksAdam Turner2022-12-292-1/+2
| |
* | Enable Ruff's flake8-bandit checksAdam Turner2022-12-294-7/+11
| |
* | Enable Ruff's pylint checksAdam Turner2022-12-298-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 checksAdam Turner2022-12-294-4/+7
| |
* | Tighten mypy 'strict optional' whitelist (#11038)danieleades2022-12-296-36/+91
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>