Commit Graph

21207 Commits

Author SHA1 Message Date
Adam Turner
e174df2762
Rename `normalize_intersphinx_mapping to validate_intersphinx_mapping` (#12643) 2024-07-22 13:32:44 +01:00
Bénédikt Tran
aacca3064e
Remove support for the Sphinx 0.5 `intersphinx_mapping` format (#12083)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-22 12:59:59 +01:00
James Addison
45f3cd6324
HTML Search: Remove unused function-call arguments in tests (#12628) 2024-07-20 23:32:25 +01:00
Tim Hoffmann
a79768847f
Improve the search field styling in the `sphinx13` theme (#12591) 2024-07-20 23:08:15 +01:00
Chris Sewell
dabacdf5f8
Turn `show_warning_types` on by default (#12597)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-20 21:07:06 +01:00
James Addison
cc08854bc2
linkcheck: Update configuration defaults for Sphinx 8.0 (#12630)
- Links that respond with HTTP 401 (unauthorized) responses are now considered ``broken`` by default.
- Timeouts that occur when checking a link are now reported with a distinct `timeout` status code, instead of the previous ``broken``.
- The previous behaviours are still available and can be configured on an opt-in basis per-project using ``conf.py``.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-20 20:41:22 +01:00
Bernhard M. Wiedemann
2034f7d3b2
Improve reproducibility by not storing timestamps in gzip files (#12606) 2024-07-20 20:08:49 +01:00
danieleades
952bdbbac2
Shrink mypy whitelist for `sphinx.cmd.quickstart` (#12617)
Co-authored-by: Daniel Eades <daniel.eades@seebyte.com>
2024-07-20 20:05:48 +01:00
danieleades
46fc784758
Shrink mypy whitelist for `sphinx.ext.autosummary.generate` (#12604) 2024-07-20 20:04:36 +01:00
danieleades
4808041cc9
Shrink mypy whitelist for `sphinx.ext.autodoc.directive` (#12602) 2024-07-20 20:03:50 +01:00
Adam Turner
4009fe0c8c Bump Ruff to 0.5.4 2024-07-20 19:59:32 +01:00
danieleades
20507af3d7
Add missing type stubs (#12619)
Co-authored-by: Daniel Eades <daniel.eades@seebyte.com>
2024-07-20 19:54:49 +01:00
Adam Turner
5a1c461642 Remove the tuple interface to `ObjectMember` 2024-07-20 19:40:29 +01:00
Adam Turner
93842508d2 Remove the `--no-use-make-mode` option from sphinx-quickstart 2024-07-20 19:40:29 +01:00
Adam Turner
af82d70c60 Raise `ThemeError` for invalid theme sections 2024-07-20 19:40:29 +01:00
Adam Turner
9f886cc878 Raise `ConfigError on invalid html_sidebars` values 2024-07-20 19:40:29 +01:00
Adam Turner
d33399a915 Remove deprecated functions in `sphinx.util.typing` 2024-07-20 19:40:29 +01:00
Adam Turner
7225e4032a Remove deprecated functions in `sphinx.util.osutil` 2024-07-20 19:40:29 +01:00
Adam Turner
35a0f7386b Remove deprecated functions in `sphinx.util` 2024-07-20 19:25:29 +01:00
Adam Turner
d444a0c800 Bump version 2024-07-20 18:44:49 +01:00
Adam Turner
0d912c85fd Bump to 7.4.7 final 2024-07-20 15:45:39 +01:00
Adam Turner
bbc97e0357
autosummary: Filter invalid import prefixes in `autolink` (#12626) 2024-07-20 15:19:55 +01:00
Bénédikt Tran
6c486a575c
Fix detecting file changes for the overwritten file warning (#12627)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-20 14:31:53 +01:00
Adam Turner
2bd973e719
autodoc: Fix warnings with dataclasses in `Annotated` metadata (#12622) 2024-07-20 11:28:03 +01:00
Adam Turner
dd77f85149
Support callables in `Annotated` types (#12625) 2024-07-20 11:16:33 +01:00
Adam Turner
1ed4ca7e03 Mark `test_build_manpage` as XFAIL following changes in Docutils master 2024-07-20 11:03:16 +01:00
Adam Turner
cd8ce07d31 Update message catalogues following reverted commits 2024-07-20 10:59:30 +01:00
Adam Turner
c6cd25f50d Partially revert "Update message catalogues (#11626)"
This partially reverts commit 9078cf21df.
2024-07-20 10:57:26 +01:00
Adam Turner
fa2ba7d5ae Partially Revert "[bot]: Update message catalogues (#12563)"
This partially reverts commit f250270149.
2024-07-20 10:53:03 +01:00
Adam Turner
e439c6f33f
Ensure that old-style object description options are respected (#12620) 2024-07-19 08:38:52 +01:00
Adam Turner
587da413ca
Warn when files are overwritten in the build directory (#12612) 2024-07-19 08:20:48 +01:00
Adam Turner
3c5ed2bdaf Bump version 2024-07-19 02:03:05 +01:00
Adam Turner
1743486776 Bump to 7.4.6 final 2024-07-18 13:28:11 +01:00
Jean-François B.
64eff01db0
Add an entry to CHANGES.rst for GH-12520 (#12614)
Also reformulate 2 other LaTeX entries there-in to adopt the same style as other bug-has-been-fixed entries rather than reproducing the original bug description.
2024-07-18 13:20:28 +01:00
James Addison
f081136ebd
intersphinx: Reduce log severity for ambiguity detection during inventory loading (#12615) 2024-07-18 13:15:20 +01:00
Adam Turner
f59f761cfa Revert unnecessary path operation changes 2024-07-18 12:51:15 +01:00
Adam Turner
e61f56950d
Do not add the module prefix when generating autosummary documents (#12609) 2024-07-17 21:42:21 +01:00
James Addison
47757c4062
HTML search: Ensure that `checkRanking` fails when the final entry is not found (#12608)
The ``checkRanking`` function in our test suite has a bug; it's currently possible for the final item in the expected ranking list *not* to be found in the result-set, and yet for the function to pass.

**Expected Behaviour**
The ``checkRanking`` function should confirm that all of the items specified in the ``expectedRanking`` argument appear within the ``results`` argument, and in the list-iteration-order provided.  If they do not, then an assertion error should be raised, failing the test.

**Actual Behaviour**
If all items up until the final entry in the ``expectedRanking`` argument are found in the expected order, but the final entry itself is not found at all in the ``results``, then no assertion error is raised, and the test passes.
2024-07-17 16:29:55 +01:00
Adam Turner
fe9be8be5f Bump version 2024-07-17 15:13:37 +01:00
Adam Turner
8b4709dfae Bump to 7.4.5 final 2024-07-16 21:05:24 +01:00
Jean-François B.
152b78318d
LaTeX: fix figures in seealso and seealso inside table cell (#12598)
This also fixes unreported issues unrelated to the 7.4.0 release:

- (now old style "lightbox") admonitions render badly in tabulary,
- "heavybox" admonitions (they are all now but warning et al. were already) cause PDF crash if in tabulary and rendered badly if in tabular or longtable.
- figure in a table cell is not properly separated from immediately preceding text.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-16 21:03:42 +01:00
Adam Turner
5edca97a2e
Warn when `html_sidebars` values are strings (#12600) 2024-07-16 20:48:49 +01:00
Adam Turner
6d2ac399f6 Bump version 2024-07-16 20:32:38 +01:00
Adam Turner
1e1356506d Bump to 7.4.4 final 2024-07-15 19:17:40 +01:00
Adam Turner
12064e05b8 Add CHANGES entry for GH-12586 2024-07-15 19:05:26 +01:00
James Addison
cfd3645eb7
intersphinx: Don't warn about pure-duplicate ambiguous definitions when loading inventory entries (#12586) 2024-07-15 18:37:46 +01:00
Jean-François B.
afaddd3c45
Update LaTeX docs with new admonition colours (#12588) 2024-07-15 18:28:40 +01:00
Adam Turner
6699a89d16 Bump version 2024-07-15 18:27:33 +01:00
Adam Turner
c4a7f5bb76 Bump to 7.4.3 final 2024-07-15 13:00:42 +01:00
Adam Turner
4bdef1b576 Remove old-styled `source_suffix` values in tests 2024-07-15 12:50:56 +01:00