Commit Graph

20666 Commits

Author SHA1 Message Date
Bénédikt Tran
08386826fb
Add tests for `:manpage:` inside a title (#11705) 2024-02-14 10:33:09 +01:00
Bénédikt Tran
b587eb243a
Fix `:paramtype:` reference targets (#11964) 2024-02-14 00:04:49 +01:00
Tetsuo Koyama
a408ec5f51
Update project name GetFEM++ -> GetFEM (#11977) 2024-02-13 11:14:01 +01:00
James Addison
e976059fd6
docs: fixup: pyglet now uses the sphinx-rtd-theme (#11952) 2024-02-06 09:37:01 +01:00
Felix von Drigalski
ceb3b2a904
Avoid zombie processes when parallel builds fail (#11923) 2024-02-03 23:56:38 +00:00
Frank Dana
9faf114ea1
C domain: Fix namespace-pop context (#11935) 2024-02-03 23:55:49 +00:00
Frank Dana
41ab0f9a41
[test] add py:currentmodule unit test (#11920) 2024-02-03 16:14:26 +01:00
j-carson
cd2bf0a7e5
#11917 - Fix rendering of inherited members for Python 3.9 (#11919)
Co-authored-by: j-carson <j-carson@fastmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-03 10:46:13 +01:00
James Addison
11d522a097
Blacklist `sphinxprettysearchresults` in the extension registry (#11926) 2024-02-02 13:09:16 +01:00
Charlie Marsh
aff95789ac
Upgrade Ruff configuration for v0.2.0 (#11927)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-02-02 00:11:44 +00:00
Adam Turner
fa29004951
Bump Ruff to 0.1.14 and remove flake8-simplify (#11906)
Authored-by: Daniel Eades <danieleades@hotmail.com>
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2024-01-21 20:42:23 +00:00
Dimitri Papadopoulos Orfanos
4f08cdff13
Enable the FURB113 rule in Ruff (#11856)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com>
2024-01-21 20:25:05 +00:00
danieleades
f9c8943889
Use `# NoQA` consistently (#11903)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-01-21 20:20:58 +00:00
Hugo van Kemenade
95b2cce9a0
Add a `versionremoved` directive (#11905)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-21 20:12:52 +00:00
James Addison
2418e007ce
Support unary subtraction in annotation parsing (#11904) 2024-01-21 14:31:04 +00:00
k | c | a
7041f11fb0
searchtools: Use the correct check for docContent (#11885)
Co-authored-by: Konstantin Knuetel <konstantin.knuetel@pdfforge.org>
2024-01-21 04:01:33 +00:00
Adam Turner
360c7a8022 Load themes through iteration rather than recursion 2024-01-21 03:59:31 +00:00
Adam Turner
99dd0cb4c6 Refactor `sphinx.theming` to prepare for iterative loading 2024-01-21 03:59:31 +00:00
Adam Turner
256c8f9de0 Define theme properties on the `Theme` object 2024-01-21 03:59:31 +00:00
Adam Turner
fda9a313a6 Extract sub-functions from `Theme.__init__()` 2024-01-21 03:59:31 +00:00
Adam Turner
0ca2ddf924 Make various theme-related objects private 2024-01-21 03:59:31 +00:00
pcgaustad
2ccc9d315e
Give a more plausible example for a combination of tags (#11899) 2024-01-20 19:10:23 +00:00
Adam Turner
49d1e7142e Fix formatting 2024-01-19 04:40:29 +00:00
Adam Turner
a9ba9f92d3 Expand all any-generics overrides 2024-01-19 04:39:31 +00:00
Adam Turner
7c24d408f8 Remove an extra line in various C / C++ domain modules 2024-01-19 03:57:15 +00:00
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