Commit Graph

21322 Commits

Author SHA1 Message Date
Adam Turner
ecbdca0b65 Format `sphinx/builders/html/` 2024-10-05 01:37:13 +01:00
dependabot[bot]
e50e1db203
Bump pyright to 1.1.383 (#12942) 2024-10-04 23:55:11 +01:00
Adam Turner
f6590c5a33
Enable automatic formatting for `sphinx/ext/napoleon/` (#12972) 2024-10-04 23:54:45 +01:00
Adam Turner
a6e449094a
Enable automatic formatting for `sphinx/transforms/` (#12971) 2024-10-04 23:16:33 +01:00
Adam Turner
3a066f2bbc
Enable automatic formatting for `sphinx/ext/intersphinx/` (#12970) 2024-10-04 17:08:30 +01:00
Adam Turner
a404f3e66c
Enable automatic formatting for `sphinx/testing/` (#12969) 2024-10-04 17:08:20 +01:00
Adam Turner
a0fe15c00d Report GIL status in pytest 2024-10-04 16:55:39 +01:00
Adam Turner
4dfddc533c
Enable automatic formatting for `sphinx/environment/` (#12968) 2024-10-04 16:40:48 +01:00
Adam Turner
81c6f1e8cc
Enable automatic formatting for `sphinx/search/` (#12967) 2024-10-04 16:28:02 +01:00
Adam Turner
e1c5f6d314
Enable automatic formatting for `sphinx/cmd/` (#12966) 2024-10-04 16:00:53 +01:00
Adam Turner
dd17d4faa5
Bump types-docutils to 0.21.0.20241004 (#12960) 2024-10-04 15:41:25 +01:00
Adam Turner
a44293a3a8
Enable automatic formatting for `sphinx/pycode/` (#12965) 2024-10-04 15:33:19 +01:00
Adam Turner
c1d192e2c2
Enable automatic formatting for `sphinx/directives/` (#12964) 2024-10-04 15:33:10 +01:00
Adam Turner
b372b2f529
Enable automatic formatting for `sphinx/pygments_styles.py` (#12963) 2024-10-04 15:02:41 +01:00
Adam Turner
97fa70cce9
Enable automatic formatting for `sphinx/_cli/` (#12962) 2024-10-04 15:02:29 +01:00
Adam Turner
883faaa568
Check the number of arguments passed to `safe_getattr()` (#12961) 2024-10-04 14:37:05 +01:00
aiudirog
c3088ef1df
Fix call to `safe_getattr()` (#12959) 2024-10-04 14:30:38 +01:00
Adam Turner
7ece6fc1e7
Enable automatic formatting for `sphinx/util/` (#12957) 2024-10-04 14:14:55 +01:00
Adam Turner
be52db2bb3
Support placeholders for years in copyright (#12910) 2024-10-04 13:52:29 +01:00
Adam Turner
3677dd1bca Shorten `copyright` in the ChangesBuilder tests 2024-10-04 12:33:03 +01:00
Adam Turner
7195d9a662 Remove copyright and licence comments from theme asset files 2024-10-04 12:31:45 +01:00
Adam Turner
45273f292e Remove titles from theme assets 2024-10-04 12:27:26 +01:00
Adam Turner
2bc662f0f8 Shorten verbose metadata comments in templates 2024-10-04 12:20:51 +01:00
Adam Turner
dfa29f9d4a Add a missing word 2024-10-04 10:56:48 +01:00
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