Commit Graph

20591 Commits

Author SHA1 Message Date
Adam Turner
e9dcfebcf9 Split the Python domain into multiple modules
``sphinx.domains.python`` was previously over 1,700 lines long
2024-01-19 03:55:47 +00:00
Adam Turner
1327ec71f2 Fix flake8 in test_build_latex 2024-01-19 03:28:23 +00:00
Adam Turner
4f962bf8e0 Split the C domain into multiple modules
``sphinx.domains.c`` was previously over 3,90 lines long
2024-01-19 03:28:23 +00:00
Adam Turner
7d30821e87 Split the C++ domain into multiple modules
``sphinx.domains.cpp`` was previously over 8,200 lines long
2024-01-19 03:28:23 +00:00
Adam Turner
41b79ee4ff Move some domains into packages 2024-01-19 02:30:51 +00:00
Adam Turner
38ac67bd6c Use long `re` flags 2024-01-19 02:28:06 +00:00
Adam Turner
183dd51f4d Explode the test matrix for test_build_latex_doc 2024-01-19 02:28:06 +00:00
Adam Turner
4c9364896e Consolidate warnings tests in `test_build_warnings` 2024-01-19 02:28:06 +00:00
Adam Turner
6fab64fb55 Explicitly remove the `autodoc_fodder` module 2024-01-19 02:28:06 +00:00
Adam Turner
f195c4ae87
Various C++ domain performance improvements (#11895)
Authored-by: Jakob Lykke Andersen <Jakob@caput.dk>
Co-authored-by: Jakob Lykke Andersen <Jakob@caput.dk>
2024-01-19 02:20:43 +00:00
Adam Turner
e3b613aa37 Clean up global state in SphinxTestApp 2024-01-18 23:30:22 +00:00
David Runge
a8f35bb463
Do not use query components in URLs for assets in EPUB rendering (#11766)
Signed-off-by: David Runge <dave@sleepmap.de>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-18 21:19:58 +00:00
Rouslan Korneychuk
d69d19103f
Improve cross-reference resolution performance in the C++ domain (#11892)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-01-18 21:10:54 +00:00
Adam Turner
1785fc9352 Remove spurious blank lines 2024-01-18 01:26:17 +00:00
Adam Turner
311ca30564 Improve `check_xpath` 2024-01-18 01:21:09 +00:00
Adam Turner
898e50c2c7 Remove `flat_dict` 2024-01-18 01:16:49 +00:00
Adam Turner
0331bdec0e Fix import order 2024-01-18 00:54:27 +00:00
Adam Turner
7800bf00dc Split `test_domain_py` 2024-01-18 00:52:25 +00:00
Adam Turner
1cb9fc3e63 Split `test_build_html` 2024-01-18 00:52:25 +00:00
Adam Turner
462404cb25 Organise tests into directories 2024-01-17 03:56:35 +00:00
Adam Turner
841f2bd9b7 Remove unneeded uses of `flat_dict()` 2024-01-17 01:58:52 +00:00
Nicolas Peugnet
59cf4d4c35
Allow custom targets in the manpage role (#11825)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-01-17 01:09:18 +00:00
James Addison
95fb0e5e57
Ensure that document titles are sorted in `searchindex.js` (#11888) 2024-01-17 01:08:29 +00:00
Adam Turner
882a174e48 Add 2024 copyright year update to `.git-blame-ignore-revs` 2024-01-16 22:15:22 +00:00
Adam Turner
569fde84d4 Happy New Year! 2024-01-16 22:13:47 +00:00
Adam Turner
55f3089981 Improve uses of `str.join` with a throwaway list 2024-01-16 22:06:34 +00:00
Shengyu Zhang
1b39b20479
Use `repr() when an enum has a custom __repr__()` (#11879)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-01-16 20:28:22 +00:00
Colin Marquardt
9c59a6ea84
Print template path chain in TemplateNotFound exceptions (#11886)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-16 20:17:34 +00:00
Adam Turner
80d5396f9d Allow the `:no-search:` metadata tag 2024-01-15 08:15:56 +00:00
Adam Turner
9a6885d0d5 Add new maintainers 2024-01-15 08:11:51 +00:00
Adam Turner
53f7ac025f Move those who haven't committed in the last two years to "Former maintainers" 2024-01-15 08:11:51 +00:00
danieleades
f7fbfaa471
Enable various pydocstyle (D) rules (#11878)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-01-14 21:13:46 +00:00
Adam Turner
587e01177d Provide example interface for ``Scorer` 2024-01-14 04:47:44 +00:00
Adam Turner
134703192d Change pytest settings
- Use the 'prepend' import mode
- Show all test statuses, save passed tests
- Set log level to INFO
2024-01-14 04:38:57 +00:00
Adam Turner
5073c29637 Don't copy `{html,epub}_theme_options ` [GH-11203] 2024-01-14 04:27:29 +00:00
Adam Turner
23cef9b59a Use `https://` where possible 2024-01-14 04:18:57 +00:00
Adam Turner
08d2a205c0 Resolve test failures 2024-01-14 03:29:56 +00:00
Adam Turner
1de54e62bd Resolve GitHub Actions failures 2024-01-14 02:57:58 +00:00
Adam Turner
f8e8b4745e Enable ANN001, ANN102, ANN202 2024-01-14 02:50:25 +00:00
Adam Turner
0a76199f99 Enable mypy error codes 2024-01-13 22:04:59 +00:00
Adam Turner
17c1aa76c6 Add type hints to untyped definitions 2024-01-13 21:23:48 +00:00
Adam Turner
82d78c19bf Bump Ruff to 0.1.13 2024-01-13 20:49:45 +00:00
Adam Turner
767e39df8c Enable some flake8-annotations (ANN) lint rules 2024-01-13 20:48:09 +00:00
James Addison
2b47fd4b4b
Update linkcheck_timeout value and documentation (#11875) 2024-01-13 17:41:28 +00:00
James Addison
9e198c70fd
linkcheck: add a distinct 'timeout' reporting status (#11876) 2024-01-13 08:14:06 +00:00
Adam Turner
85400a0430 Improve typing for `_ConfigRebuild` 2024-01-13 02:32:10 +00:00
Alex Szatmary
bcb1825679
State that `exclude_patterns` has priority (#11872) 2024-01-12 04:28:47 +00:00
James Addison
3b5d2afb9a
Fix 'test_html_scaled_image_link' for Docutils' HEAD (#11863)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-10 01:01:47 +00:00
James Addison
6083351320
linkcheck: Expand another GitHub shorthand issue reference (#11864) 2024-01-09 13:14:05 +00:00
James Addison
5211c01646
Enable reporting HTTP 401 hyperlinks as broken in linkcheck (#11684)
Co-authored-by: picnixz <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-09 12:33:40 +00:00