Commit Graph

21033 Commits

Author SHA1 Message Date
Adam Turner
512570bfe6 Standardise verbiage for Config values (default, rebuild, valid_types) 2024-01-03 03:21:36 +00:00
Adam Turner
0c509a2e5d Standardise type-validation verbiage in `sphinx.config` 2024-01-03 03:21:35 +00:00
Dimitri Papadopoulos Orfanos
b9691c0ce6
Add some recent Ruff rules (#11833) 2024-01-02 01:22:08 +00:00
Dimitri Papadopoulos Orfanos
002098b51f
Adopt the lint Ruff table consistently (#11832) 2024-01-01 22:19:54 +00:00
Dimitri Papadopoulos Orfanos
68295a5a78
[docs] Remove duplicate "the" from README file (#11835) 2024-01-01 15:39:09 +01:00
Adam Turner
3f1fb5ee13 MyPy shows error codes by default since v0.990 2023-12-31 17:23:38 +00:00
Dimitri Papadopoulos Orfanos
ba18b50f34
Require PyTest 6.0 or later (#11827)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-12-31 17:17:46 +00:00
Bénédikt Tran
a8d580075e
Fix ANSI control sequence support detection (#11708) 2023-12-30 16:39:22 +00:00
Rex Yuan
23c9cb4e78
[docs] Fix Makefile target in describing-code.rst (#11428) 2023-12-30 14:48:16 +01:00
James Addison
d66d51ad8c
test_build_linkcheck: test_defaults: fix line-number assertion when using docutils 0.21b+ (#11818)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2023-12-30 13:38:30 +01:00
danieleades
e1bbe88eb5
Fix some type errors in the C and C++ domains (#11791) 2023-12-29 09:56:49 +00:00
danieleades
f7f4fb42b0
Enable more entire categories in Ruff (#11816)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-12-29 09:55:28 +00:00
Adam Turner
bc74a6223c Remove obsolete warning filter 2023-12-28 07:34:52 +00:00
Shengyu Zhang
9c3b50b31c
Avoid hard-coding 'index' for the master document in templates (#11801) 2023-12-28 07:05:14 +00:00
James Addison
246312287e
Resolve lint warnings reported by Ruff (#11719) 2023-12-28 06:51:32 +00:00
danieleades
64e7ba5e3f
Enable the entire pycodestyle category (#11820)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-12-28 06:41:32 +00:00
Adam Turner
772ebbc898 Add the `Framework :: Sphinx :: Domain` classifier 2023-12-27 01:15:05 +00:00
Adam Turner
75bdbe8d09 Move Ruff linting settings to the [lint] table 2023-12-27 01:13:04 +00:00
Adam Turner
3ad2c3b4ee List long options first 2023-12-27 01:06:15 +00:00
Adam Turner
16c13fcb4c Split options into groups with finer granularity 2023-12-27 00:56:13 +00:00
Hugo van Kemenade
aea69ea6af
Add longer option names to `sphinx-build` (#11776)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-12-27 00:22:52 +00:00
danieleades
ab70ef73a8
Move the SIM115 whitelist inline (#11819) 2023-12-27 00:21:11 +00:00
Will Lachance
6e18d06d51
HTML search: Fix exact matching on titles with extra whitespace (#11770) 2023-12-26 07:21:18 +00:00
David Smith
2a589c09b2
Prefer `sys.version_info` for feature checks (#11736) 2023-12-26 06:33:22 +00:00
Adam Turner
868199ec18 Cease using isort 2023-12-26 04:30:29 +00:00
Adam Turner
05d5e2f360 Pin the required versions of mypy and ruff 2023-12-26 04:24:52 +00:00
Hugo van Kemenade
7d4ca9cb3e
Fix autodoc tests for Python 3.11 and later (#11793)
Since Python 3.11.7, 3.12.0 and 3.13.0a2, "list of weak references to the object (if defined)" was changed to "list of weak references to the object".

Add a version check to decide which text to assert.
2023-12-26 04:10:22 +00:00
Adam Turner
6ee194ffde Fix mypy error 2023-12-26 04:04:23 +00:00
Adam Turner
3385ce10a1 Fix Ruff errors 2023-12-26 04:04:22 +00:00
Adam Turner
b2afe12eb7 Merge Ruff ignores into the select list 2023-12-26 04:04:22 +00:00
Adam Turner
f89658d082 Expand the Ruff ALL code 2023-12-26 04:04:21 +00:00
Adam Turner
581eea0a1e Update `.ruff.toml` post-move 2023-12-26 04:04:21 +00:00
Adam Turner
688352b8d6 Move Ruff configuration to `.ruff.toml` 2023-12-26 04:04:20 +00:00
Jean-François B
3596590317
Fix a LaTeX file info string (relates #11758) (#11761) 2023-11-15 23:14:14 +01:00
Jean-François B
85966c0986
Fix #11756 (#11758) 2023-11-15 17:27:14 +01:00
Jean-François B
2d1e60748f
Fix flake8 linting error (#11757) 2023-11-15 17:14:34 +01:00
Lonami
bb74aec2b6
Fix a crash in the coverage extension when module contents are not found (#11702)
Signed-off-by: Stephen Finucane <stephen@that.guru>
Co-authored-by: Stephen Finucane <stephen@that.guru>
Authored-by: Stephen Finucane <stephen@that.guru>
2023-10-05 15:03:32 +01:00
Bénédikt Tran
fb1e521202
Use the new HTML `<search>` element (#11704) 2023-10-04 17:43:21 +01:00
Adam Turner
5730329d83 Simplify the font selection 2023-10-04 16:56:47 +01:00
Adam Turner
8878bee000 Replace the header image with a new SVG logo 2023-10-04 16:56:46 +01:00
Adam Turner
3d8b00827e Promote underline levels 2023-10-03 19:39:36 +01:00
Adam Turner
81a8870eee Note that cross-referencing syntax has moved to a new location 2023-10-03 19:39:36 +01:00
Adam Turner
6a56592b30 Move cross-referencing to a new page 2023-10-03 19:32:37 +01:00
Adam Turner
909f93c7ec Use `pyproject.toml entry points rather than setup.py` 2023-10-03 19:26:37 +01:00
James Addison
71d3eaee75
Add 'noindex' meta robots tag to the search results page (#11700) 2023-10-03 14:15:57 +01:00
Adam Turner
5d58624227 Reformat the domains lists 2023-10-02 13:10:26 +01:00
Adam Turner
f7f41e6828 Fix and standardise markup 2023-10-02 13:10:26 +01:00
Adam Turner
3dd10e47d0 Add versionadded directives 2023-10-02 13:10:26 +01:00
Adam Turner
e15fc04e53 Promote underline levels 2023-10-02 13:10:26 +01:00
Adam Turner
385a9193a7 Remove redundant labels 2023-10-02 13:10:26 +01:00