Adam Turner
772cdfa19d
Remove `sphinx.directives.other.VersionChange
` ( #12662 )
2024-07-23 14:56:49 +01:00
Adam Turner
57a63ea603
Use more precise last-modified times for files ( #12661 )
2024-07-23 14:52:31 +01:00
Adam Turner
de15d61a46
Use pathlib in `sphinx.project
`
2024-07-23 04:52:32 +01:00
Adam Turner
932e5c56db
Fix repr of paths on Windows
2024-07-23 03:28:50 +01:00
Adam Turner
0897b5948b
Ensure user-supplied files are always copied
2024-07-23 03:19:50 +01:00
danieleades
2f9a79c3b2
Disallow implicit re-export ( #12653 )
2024-07-23 02:38:45 +01:00
danieleades
58d4224227
Disallow untyped calls ( #12640 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-23 02:22:58 +01:00
danieleades
e8f8247e0c
Disallow subclassing `Any
` ( #12638 )
2024-07-23 01:52:20 +01:00
danieleades
f8e9669f8b
Disallow untyped definitions ( #12637 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-23 01:42:53 +01:00
Adam Turner
c8c7fee4e5
Use `types.NoneType
` ( #12659 )
2024-07-23 01:31:53 +01:00
Adam Turner
3b009cd627
Mark type aliases with `TypeAlias
` ( #12658 )
2024-07-23 01:21:29 +01:00
Bénédikt Tran
61daf1c27c
intersphinx: Fix cache handling ( #12087 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: James Addison <55152140+jayaddison@users.noreply.github.com>
2024-07-22 23:09:11 +01:00
dependabot[bot]
f90b506a9f
Bump mypy to 1.11.0 ( #12642 )
2024-07-22 17:29:09 +01:00
Adam Turner
97df13dc68
Remove `sphinx.util.inspect.isNewType
` ( #12646 )
2024-07-22 17:27:48 +01:00
Adam Turner
bf57d21fcd
Update `sphinx.deprecation
` for Sphinx 8.0 ( #12651 )
2024-07-22 16:40:57 +01:00
Adam Turner
f31dbabf20
Remove `_StrPath
` ( #12650 )
2024-07-22 16:22:41 +01:00
Adam Turner
aa12307cc2
Add version information for methods in `utils.docutils
` ( #12649 )
2024-07-22 16:22:25 +01:00
Adam Turner
217f267822
Do not overwrite user-supplied data by default when copying ( #12647 )
2024-07-22 16:00:16 +01:00
Adam Turner
9e3f4521db
Drop support for Python 3.9 ( #12633 )
2024-07-22 15:05:15 +01:00
Bénédikt Tran
8c6d234e96
Simplify `logger.error
calls in
validate_intersphinx_mapping
` ( #12644 )
2024-07-22 14:41:31 +01:00
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