Commit Graph

21748 Commits

Author SHA1 Message Date
Adam Turner
15b46dc81e Enable the entire PYI category in Ruff 2024-11-15 01:00:36 +00:00
Dimitri Papadopoulos Orfanos
f76ffdf02b
Apply flake8-pyi rule PYI018 (#13116) 2024-11-15 00:36:01 +00:00
Adam Turner
efc36ac38f Bump Ruff to 0.7.3 2024-11-14 16:40:34 +00:00
dependabot[bot]
e299d69e14
Bump pyright to 1.1.389 (#13132) 2024-11-14 16:11:45 +00:00
James Addison
c93723b803
singlehtml: deprecate the 'fix_refuris' helper function (#13037)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-11-13 23:15:00 +00:00
Adam Turner
9abd8e6cb1
Credit more contributors in AUTHORS (#13114) 2024-11-13 22:24:57 +00:00
Tim Hoffmann
20b53bcc1a
Add a graph illustrating the build phases to the docs (#13108) 2024-11-13 22:22:47 +00:00
Dimitri Papadopoulos Orfanos
041326f087
Apply flake8-implicit-str-concat rule ISC001 (#13115) 2024-11-13 22:22:19 +00:00
Tim Hoffmann
a2db696777
Format options for doctest directives (#13107)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-11-13 22:20:56 +00:00
Santos Gallegos
2320c46b9e
Document `Sphinx.set_html_assets_policy` (#13123) 2024-11-13 22:10:03 +00:00
Dmitry Shachnev
d6da26a7f5
Properly strip time zones which are west of UTC (#13128)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-11-13 21:53:01 +00:00
Adam Turner
2dfb0b907d
Account for removal of `docutils.utils.roman` (#13131) 2024-11-13 21:41:26 +00:00
Adam Turner
eb337fec0a Remove duplicate entries in AUTHORS 2024-11-08 12:47:24 +00:00
Dimitri Papadopoulos Orfanos
c427edb0bd
Emend spelling errors (#13113)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-11-08 12:11:42 +00:00
Tim Hoffmann
8117bcaae8
Format autosummary options in docs (#13106)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-11-07 16:25:40 +00:00
dependabot[bot]
c6b9dc16b4
Bump pyright to 1.1.388 (#13111) 2024-11-07 16:13:40 +00:00
Adam Turner
c4495d0ce0 Use `_StrPath in sphinx.pycode` 2024-11-07 00:31:28 +00:00
Adam Turner
bb6ecbc251 Use `_StrPath in sphinx.writers.latex` 2024-11-05 15:23:27 +00:00
Adam Turner
e8db4379d4 Use pathlib in `sphinx.transforms.i18n` 2024-11-05 14:49:24 +00:00
Adam Turner
5b1dc828ca Import abspath from os.path 2024-11-05 14:48:24 +00:00
Adam Turner
d374a1c30d Use pathlib version of `relative_path` 2024-11-04 22:33:36 +00:00
Adam Turner
230ccf2a44 Use `_StrPath in sphinx.environment` 2024-11-04 21:15:15 +00:00
Adam Turner
e834327925 Use `_StrPath in sphinx.util.images` 2024-11-04 18:10:11 +00:00
Adam Turner
6f0c8f75ac Improve lookup in `Project.path2doc()` 2024-11-04 18:03:26 +00:00
Adam Turner
2ccbc3209a Use type hints for directories 2024-11-04 18:02:31 +00:00
Adam Turner
1266c421be Use pathlib in `sys.path` manipulation examples 2024-11-03 22:58:19 +00:00
Adam Turner
fbb23071bf Accept PathLike in `BuildEnvironment.note_included()` 2024-11-03 22:52:51 +00:00
Adam Turner
c1172022ed Prefer using `BuildEnvironment.note_dependency()` 2024-11-03 22:51:15 +00:00
Adam Turner
7801bd77b8 Make `os.path` imports absolute 2024-11-03 17:41:43 +00:00
Adam Turner
801c60a873 Consistently calculate the current file's directory 2024-11-03 17:28:02 +00:00
Adam Turner
a6559d496b Use pathlib in examples 2024-11-03 17:26:39 +00:00
Adam Turner
1094556afb Bump Ruff to 0.7.2 2024-11-03 02:55:19 +00:00
Rafael Fontenelle
db1a190c58
Use default locale_dirs value (#13079) 2024-11-02 23:47:24 +00:00
Adam Turner
867be99098 Narrow types for resolve_xref and resolve_any_xref 2024-11-02 23:17:07 +00:00
James Addison
7a3ba90540
Add James Addison to AUTHORS.rst (#13080) 2024-11-02 21:50:33 +00:00
Adam Turner
dedb21e638 Resolve _StrPath warnings in the tests 2024-11-02 21:39:18 +00:00
Adam Turner
9eff55711b Use `env.events in sphinx.ext.todo` 2024-11-02 21:32:41 +00:00
Adam Turner
c6b4114cde Make registry use explicit when creating _DomainsContainer 2024-11-02 21:32:41 +00:00
Adam Turner
c3968e9be9 Use attributes of `env rather than env.app` 2024-10-28 13:31:59 +00:00
Adam Turner
1e968be6ef Minimise installed apt packages 2024-10-26 15:49:14 +01:00
Adam Turner
3b5bce906c Use `_StrPath in sphinx.application` 2024-10-26 00:12:12 +01:00
Adam Turner
eed19a0a7f Use `_StrPath in sphinx.versioning` 2024-10-26 00:08:33 +01:00
Adam Turner
e7fa2420b6 Use `_StrPath in sphinx.config` 2024-10-26 00:07:13 +01:00
Adam Turner
5cf3e6bf9a Use `_StrPath in sphinx.util` 2024-10-25 23:58:42 +01:00
Adam Turner
3015ceb546 Use `_StrPath in sphinx.testing.restructuredtext` 2024-10-25 23:46:33 +01:00
Adam Turner
072df8f779 Use `_StrPath in sphinx.search` 2024-10-25 23:21:12 +01:00
Adam Turner
97ddc47765 Use `_StrPath in sphinx.directives.patches` 2024-10-25 23:14:24 +01:00
Adam Turner
f0f127f116 Use `_StrPath in sphinx.cmd.build` 2024-10-25 23:11:48 +01:00
Adam Turner
de24fd0b76 Use `_StrPath in sphinx.cmd.make_mode` 2024-10-25 23:06:19 +01:00
dependabot[bot]
2137d0d2eb
Bump pyright to 1.1.387 (#13092) 2024-10-31 16:04:16 +00:00