Commit Graph

21033 Commits

Author SHA1 Message Date
Ned Batchelder
a7df31cfc6
[render] do not use a dash if there's no description to introduce (#12035)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-03 10:46:11 +01:00
Bénédikt Tran
d8c301482d
[hotfix] fix a warning in #12036 (#12043) 2024-03-03 09:29:47 +00:00
James Addison
c777897109
[github] update issue label names (#12039)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-03 10:24:44 +01:00
Ned Batchelder
574519900e
[test] force rendering of ANSI colors for non-tty objects (#12036) 2024-03-02 17:36:41 +01:00
danieleades
bea8b6bf4d
[internals] improve type safety when using `NodeMatcher` (#12034) 2024-03-02 16:34:54 +01:00
Michael Goerz
265ffeedbd
[intersphinx] allow case-insensitive match of label-refs through intersphinx (#12033) 2024-03-02 12:39:51 +01:00
Will Lachance
9a30ca7da1
[HTML search] use anchor for search preview (#11944) 2024-02-27 15:22:52 +01:00
Bénédikt Tran
4ef8752499
[lint] change `mypy` imports policy. (#12017) 2024-02-27 14:16:14 +01:00
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