Commit Graph

21343 Commits

Author SHA1 Message Date
James Knight
d1c4480f2a
Allow builders to override support for linkcode references (#12852)
Signed-off-by: James Knight <james.d.knight@live.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-06 22:54:02 +01:00
Shahriar Heidrich
7ad2733f4d
Improve code-block/sourcecode class option docs (#11585)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-06 20:36:28 +01:00
Jakub Stasiak
e04d042f8f
Improve the formatting for RFC section anchors (#11809)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-06 04:29:11 +01:00
Jean-François B.
173838b534
LaTeX: use current parskip package for better spacing around titles (#12833)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-05 22:28:11 +01:00
danieleades
cf8f140dd8
Shrink mypy whitelist (#12900)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-05 21:37:05 +01:00
Alex Domingo
1c7e00602b
Set pageurl through get_target_uri in StandaloneHTMLBuilder (#9731)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-05 20:51:18 +01:00
Jared Dillard
aa39a6095d
docs: fix syntax typo in intersphinx external role example (#12941) 2024-10-05 20:13:03 +02:00
Takeshi KOMIYA
9323de2b3d
Fix typos (#11936)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-05 19:10:07 +01:00
Hugo van Kemenade
09ab6edde5
Add CVE and CWE roles (#11781)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-05 18:44:14 +01:00
Adam Turner
f7fa020cc2
Bump types-docutils to 0.21.0.20241005 (#12976) 2024-10-05 18:11:47 +01:00
Adam Turner
d3df44cc8b Move `UnicodeDecodeErrorHandler to sphinx.builders` 2024-10-05 17:05:45 +01:00
Adam Turner
71598455a2 Add `sphinx.util._lines` 2024-10-05 16:54:31 +01:00
Adam Turner
40f8693661 Add `sphinx.util._uri` 2024-10-05 16:47:26 +01:00
Adam Turner
4c638d8289
Rename `html_last_updated_time_zone to html_last_updated_use_utc` (#12958) 2024-10-05 16:34:00 +01:00
Adam Turner
86531aba8e Correct the default value for `html_last_updated_fmt` 2024-10-05 16:17:53 +01:00
Adam Turner
92aaf3db82 Enable automatic formatting for `sphinx/domains/_*.py` 2024-10-05 03:34:02 +01:00
Adam Turner
77e2cbb2d3
Enable automatic formatting for `sphinx/writers/` (#12974) 2024-10-05 03:16:57 +01:00
Adam Turner
038562c4b7
Use `colorama.just_fix_windows_console()` (#12973) 2024-10-05 03:14:06 +01:00
Adam Turner
75d05eb766 Enable automatic formatting for `sphinx/builders/` 2024-10-05 01:37:37 +01:00
Adam Turner
5d76f840bb Format `sphinx/builders/` 2024-10-05 01:37:14 +01:00
Adam Turner
e2657fb10b Format `sphinx/builders/latex/` 2024-10-05 01:37:13 +01:00
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