Commit Graph

20675 Commits

Author SHA1 Message Date
Jared Dillard
fde43ed8b4
[docs] clarify the proper 'make-mode' usage in the docs (#11992) 2024-02-27 09:03:15 +01:00
danieleades
d6f38ade54
[CI] update mypy CI job to use local config (#12013)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-26 12:15:17 +01:00
danieleades
adde256893
[lint] shrink mypy whitelist (#11898)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-26 09:45:19 +01:00
James Addison
8aa5edd585
[config] copyright correction logic: handle year-to-year ranges without trailing authorship info (#11914) 2024-02-24 16:21:29 +01:00
Bénédikt Tran
707bfbd669
[gettext] fix flaky test on windows (#11940) 2024-02-24 13:34:52 +01:00
Demetrios Koziris
faa33a53a3
[docs] Clarify how to escape curly braces in `samp` text (#11987)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-22 09:48:12 +01:00
Harrissou Sant-anna
f4eea669e0
Fix wording for the number of default substitutions (#11985) 2024-02-19 10:14:07 +01:00
MatrixEditor
182053198d
Added support for `slice` objects in subscriptions (#11981)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-14 14:45:30 +01:00
James Addison
2fe103acda
Maintenance: apply pyupgrade suggestions for py3.9 (#11910) 2024-02-14 11:05:47 +01:00
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