Commit Graph

20457 Commits

Author SHA1 Message Date
Hugo van Kemenade
7d4ca9cb3e
Fix autodoc tests for Python 3.11 and later (#11793)
Since Python 3.11.7, 3.12.0 and 3.13.0a2, "list of weak references to the object (if defined)" was changed to "list of weak references to the object".

Add a version check to decide which text to assert.
2023-12-26 04:10:22 +00:00
Adam Turner
6ee194ffde Fix mypy error 2023-12-26 04:04:23 +00:00
Adam Turner
3385ce10a1 Fix Ruff errors 2023-12-26 04:04:22 +00:00
Adam Turner
b2afe12eb7 Merge Ruff ignores into the select list 2023-12-26 04:04:22 +00:00
Adam Turner
f89658d082 Expand the Ruff ALL code 2023-12-26 04:04:21 +00:00
Adam Turner
581eea0a1e Update `.ruff.toml` post-move 2023-12-26 04:04:21 +00:00
Adam Turner
688352b8d6 Move Ruff configuration to `.ruff.toml` 2023-12-26 04:04:20 +00:00
Jean-François B
3596590317
Fix a LaTeX file info string (relates #11758) (#11761) 2023-11-15 23:14:14 +01:00
Jean-François B
85966c0986
Fix #11756 (#11758) 2023-11-15 17:27:14 +01:00
Jean-François B
2d1e60748f
Fix flake8 linting error (#11757) 2023-11-15 17:14:34 +01:00
Lonami
bb74aec2b6
Fix a crash in the coverage extension when module contents are not found (#11702)
Signed-off-by: Stephen Finucane <stephen@that.guru>
Co-authored-by: Stephen Finucane <stephen@that.guru>
Authored-by: Stephen Finucane <stephen@that.guru>
2023-10-05 15:03:32 +01:00
Bénédikt Tran
fb1e521202
Use the new HTML `<search>` element (#11704) 2023-10-04 17:43:21 +01:00
Adam Turner
5730329d83 Simplify the font selection 2023-10-04 16:56:47 +01:00
Adam Turner
8878bee000 Replace the header image with a new SVG logo 2023-10-04 16:56:46 +01:00
Adam Turner
3d8b00827e Promote underline levels 2023-10-03 19:39:36 +01:00
Adam Turner
81a8870eee Note that cross-referencing syntax has moved to a new location 2023-10-03 19:39:36 +01:00
Adam Turner
6a56592b30 Move cross-referencing to a new page 2023-10-03 19:32:37 +01:00
Adam Turner
909f93c7ec Use `pyproject.toml entry points rather than setup.py` 2023-10-03 19:26:37 +01:00
James Addison
71d3eaee75
Add 'noindex' meta robots tag to the search results page (#11700) 2023-10-03 14:15:57 +01:00
Adam Turner
5d58624227 Reformat the domains lists 2023-10-02 13:10:26 +01:00
Adam Turner
f7f41e6828 Fix and standardise markup 2023-10-02 13:10:26 +01:00
Adam Turner
3dd10e47d0 Add versionadded directives 2023-10-02 13:10:26 +01:00
Adam Turner
e15fc04e53 Promote underline levels 2023-10-02 13:10:26 +01:00
Adam Turner
385a9193a7 Remove redundant labels 2023-10-02 13:10:26 +01:00
Adam Turner
607aadc660 Split out the Maths domain 2023-10-02 13:10:26 +01:00
Adam Turner
c6dd47d2c8 Split out the reStructuredText domain 2023-10-02 13:10:26 +01:00
Adam Turner
f6bafc7dad Split out the JavaScript domain 2023-10-02 13:10:25 +01:00
Adam Turner
c8b2191059 Split out the Standard domain 2023-10-02 13:10:12 +01:00
Adam Turner
de3266ab25 Split out the C++ domain 2023-10-02 13:10:12 +01:00
Adam Turner
db6cc67f1a Split out the C domain 2023-10-02 13:10:12 +01:00
Adam Turner
d491d3e04c Split out the Python domain 2023-10-02 13:10:12 +01:00
Adam Turner
05682f12a6 Restore `usage/restructuredtext/domains` 2023-10-02 13:10:11 +01:00
Adam Turner
c0e17eca40 Move the domains reference up one level 2023-10-02 13:09:38 +01:00
Jakob Lykke Andersen
b9c85984d2 intersphinx: Group all std domain tests together 2023-09-21 23:04:42 +01:00
Bénédikt Tran
46f8f76e56
Fix the lazy loading conditions for MathJax (#11597)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-21 18:18:09 +01:00
Aryaz Eghbali
abf42e901e
Skip all hidden directories in `CatalogRepository` (#11667)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-21 09:30:26 +00:00
Adam Turner
5494640890 Avoid `datetime for epoch_to_rfc1123()` 2023-09-21 10:29:09 +01:00
Adam Turner
9d1dcae373
Deprecate old-style Makefiles in sphinx-quickstart (#11693) 2023-09-21 10:25:00 +01:00
Bénédikt Tran
5fe0bd41eb
Strip ANSI control codes when writing to the warnings file (#11624)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-09-21 10:01:07 +01:00
Adam Turner
b935915c57
Improve make-mode documentation (#11692) 2023-09-21 09:39:39 +01:00
Adam Turner
de6d3665ef Allow warnings within the coverage job 2023-09-21 09:27:04 +01:00
Adam Turner
40e1ae143f Name the coverage job 2023-09-21 09:21:50 +01:00
Adam Turner
c843b31686 Run fewer test jobs
Only test with the newest and oldest supported versions of Docutils
on all but the latest supported version of Python.
2023-09-21 09:19:33 +01:00
Adam Turner
58fdd344d3 Use the correct path to the JavaScript tests workflow 2023-09-21 09:17:41 +01:00
Adam Turner
22741540f3 Do not install graphviz on the LaTeX container image
graphviz is pre-installed, so there's no point installing it.
2023-09-21 09:16:11 +01:00
Adam Turner
b7d348418d Mark `utils/bump_docker.py` as executable 2023-09-21 09:14:38 +01:00
Adam Turner
9298de548f Update CI configuration
- Merge LaTeX and Coverage into the main CI file
- Only run tests when a relevant file changes
- Update ``actions/checkout``
- Set ``-Werror`` only on pytest steps
- Reduce verbosity on the documentation workflow
2023-09-21 09:08:29 +01:00
Adam Turner
3ac143c8bf Enable nit-picky mode in `conf.py` 2023-09-21 09:02:58 +01:00
Adam Turner
ec44db49ca Resolve whitespace complaints 2023-09-21 00:45:08 +01:00
Adam Turner
04a1ee07dd Split `_parse_arguments` into parts 2023-09-21 00:20:26 +01:00