James Addison
a84f7009ac
Restrict substitution of `copyright
` years ( #12516 )
...
Only substitute copyright notice years with values from
``SOURCE_DATE_EPOCH`` for entries that match the current
system clock year, and disallow substitution of future years.
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-04 10:48:47 +01:00
Adam Turner
5eb68b2bff
Remove list of cross-reference roles
2024-10-03 22:20:55 +01:00
Adam Turner
5f3846f8c6
Improve testing for copyright year substitution ( #12950 )
2024-10-03 21:56:50 +01:00
danieleades
7546545876
Further improve typing in tests/
( #12816 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-03 20:17:40 +01:00
Adam Turner
b6f818f600
Add `stable_str()
` ( #12948 )
...
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2024-10-03 17:54:54 +01:00
Adam Turner
e5df455087
Move `stable_hash()
` to a new private module (sphinx.util._serialise) ( #12947 )
2024-10-03 17:40:38 +01:00
Adam Turner
a11698d481
Replace `BuildEnvironment._update_config()
with
_config_status()
` ( #12946 )
2024-10-03 17:31:53 +01:00
Tim Hoffmann
4080be1e82
Improve cross-reference documentation ( #12944 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-03 15:58:37 +01:00
James Addison
80c4b65a2a
apidoc: Restore support for legacy '_t'-suffix template files ( #12929 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-03 00:21:03 +01:00
Tim Hoffmann
b16e196a60
Improve `autodoc
` docs ( #12935 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-02 23:02:48 +00:00
Adam Turner
3d211368bd
Remove "Licenses for incorporated software"
2024-10-02 16:47:09 +01:00
Tim Hoffmann
647863ed55
sphinx13: Use a background for inline literals ( #12943 )
2024-10-02 16:42:17 +01:00
Adam Turner
341b0417d5
fixup! "lint: typecheck docs/conf.py
( #12697 )" ( #12933 )
2024-10-01 14:41:04 +01:00
Adam Turner
702ba34aff
Restructure `autodoc
` documentation ( #12932 )
2024-10-01 14:15:24 +01:00
Adam Turner
1e6067c93c
Remove obsolete `cut_lines
from
conf.py
`
2024-10-01 13:40:37 +01:00
James Addison
abb3ead01a
tests: text builder: resolve an ordering conflict between two section-number-related tests ( #12868 )
2024-09-28 19:23:25 +02:00
dependabot[bot]
4319c16f6a
Bump Ruff to 0.6.8 ( #12921 )
2024-09-28 14:30:20 +01:00
Adam Dangoor
88460f1c25
Remove unnecessary `# type
` comments ( #12925 )
2024-09-28 14:29:33 +01:00
Adam Dangoor
26c30b5290
Add an initial pyright configuration ( #12924 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-28 12:10:23 +01:00
khanxmetu
0a162fa8da
i18n: disable default smartquotes for zh_CN
and zh_TW
( #12875 )
2024-09-28 00:18:54 +02:00
Adam Dangoor
5b8408aac7
Update tox lint to more closely match GitHub actions lint workflow ( #12923 )
2024-09-27 13:48:19 +01:00
Adam Dangoor
7487e764cb
Resolve a few mypy issues in tests ( #12912 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-25 08:57:11 +01:00
dependabot[bot]
914f3f4e54
Bump Ruff to 0.6.7 ( #12913 )
2024-09-23 06:15:14 +01:00
Adam Dangoor
9a36cfcd0f
Enable `disallow_any_generics
for
sphinx.ext.napoleon
` ( #12911 )
2024-09-23 06:15:00 +01:00
Adam Turner
de1379e23f
Use pathlib for `copy_asset_file
` ( #12908 )
2024-09-22 08:02:58 +01:00
Adam Turner
45b7ebdc17
Allow using GMT in the HTML last updated format ( #12907 )
2024-09-22 07:55:09 +01:00
dependabot[bot]
cc85533b75
Bump Ruff to 0.6.6 ( #12904 )
2024-09-22 00:04:56 +01:00
Adam Dangoor
c65c7c979e
Enable `disallow_any_generics
` in more files ( #12906 )
2024-09-22 00:04:40 +01:00
Adam Turner
76110c3ea0
Add `_DomainsContainer
` for better static typing ( #12783 )
...
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2024-09-18 03:50:27 +01:00
James Addison
92f024e2bf
HTML search: adjustments to type-dependent CSS classnames and defaults ( #12815 )
...
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
2024-09-18 03:40:20 +01:00
Stephen Finucane
bce70daf21
Restore 'noindex' support for the JavaScript and Python domains ( #12844 )
...
Signed-off-by: Stephen Finucane <stephen@that.guru>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-09-18 03:37:12 +01:00
dependabot[bot]
832aabbc0b
Bump peter-evans/create-pull-request to 7.0 ( #12860 )
2024-09-18 03:30:58 +01:00
Adam Turner
7300f75ea2
Bump Ruff to 0.6.5 ( #12898 )
2024-09-18 03:28:26 +01:00
dependabot[bot]
2f2f06a930
Bump deadsnakes/action to 3.2.0 ( #12872 )
2024-09-18 03:28:13 +01:00
Miguel Castillón
61426f4678
Add PhaseFieldX to EXAMPLES.rst ( #12830 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-18 03:02:47 +01:00
Matthias Geier
78287616b0
Enable parallel reading regardless of the number of documents ( #12796 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-18 02:57:40 +01:00
Tim Hoffmann
3b9aa9cace
Format `literalinclude
` directive options ( #12780 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-18 02:55:14 +01:00
Adam Turner
71b1a06024
Fix tests for Docutils revision 9928 ( #12897 )
2024-09-18 02:10:10 +01:00
khanxmetu
56716ed514
Clearly specify `latex_engine
` defaults ( #12876 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-18 01:42:47 +01:00
Adam Dangoor
5907ee4102
Resolve a mypy `comparison-overlap
` error ( #12884 )
2024-09-18 01:24:11 +01:00
khanxmetu
e4e78b3e1c
Fix mypy failures in intersphinx ( #12879 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-09-18 01:23:00 +01:00
Adam Dangoor
04381789db
Use more specific type for get_source callable return value ( #12855 )
2024-09-02 10:32:17 -05:00
Shengyu Zhang
d347149f55
Document `sphinx.domains.IndexEntry
` ( #12820 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-02 10:30:49 -05:00
Adam Dangoor
15aadd6e1a
Change the language type given to CatalogRepository
in tests ( #12853 )
2024-09-02 14:41:34 +01:00
Wei-Hsiang (Matt) Wang
e35e7b0fbe
Remove unnecessary `:func:
and
:meth:
` parentheses ( #12848 )
2024-09-01 06:33:28 +01:00
danieleades
bb2c4e9bac
Simplify mypy settings ( #12823 )
2024-08-31 08:13:11 +01:00
Adam Dangoor
6a07bfcb78
Remove unused `app
fixture passed to
test_util_rst
` tests ( #12840 )
2024-08-31 08:12:16 +01:00
Adam Dangoor
c00388f509
Remove unused monkeypatch fixtures ( #12841 )
2024-08-31 07:48:08 +01:00
Adam Dangoor
7b6f76b61c
Remove an unused function in a test ( #12839 )
2024-08-31 07:47:16 +01:00
Adam Dangoor
b5617c0d15
Remove unused `make_app
` fixtures ( #12842 )
2024-08-31 07:46:38 +01:00