Commit Graph

21639 Commits

Author SHA1 Message Date
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
Adam Turner
116a430cac Accept PathLike in Sphinx.add_message_catalog() 2024-10-25 22:49:51 +01:00
Adam Turner
8cd599c50a Import ParamSpec from typing 2024-10-25 22:42:09 +01:00
Adam Turner
71c0fcfbc5
Use pathlib in the tests (#13051) 2024-10-25 22:41:08 +01:00
James Addison
63a4175b53
linkcheck: Remove unused 'local' status code (#13068) 2024-10-25 18:58:05 +01:00
Adam Turner
4f2de7ffc0 Rename `index{cls,name} to index_{cls,name}` 2024-10-25 18:15:55 +01:00
Adam Turner
342b597827 Refactor PythonDomain
Miscellaneous style changes.
2024-10-25 17:59:06 +01:00
Adam Turner
f43951e3ff Use keyword-arguments with `note_module()` 2024-10-25 17:53:20 +01:00
Adam Turner
8682f64b6f Use keyword-arguments with `IndexEntry` 2024-10-25 17:51:05 +01:00
James Addison
bd7d595c6b
html search: use a `Map` to collect file-term scores (#13060)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-24 19:29:56 +01:00