Commit Graph

21230 Commits

Author SHA1 Message Date
Adam Turner
334e69fbb4
Test command line argument parsing (#12795) 2024-08-17 02:53:48 +01:00
Adam Turner
2e1415cf6c
Use `headlessFirefox` and update to Node 20 (#12794) 2024-08-16 23:18:24 +00:00
Adam Turner
90b57914d1 Bump Ruff to 0.6.1 2024-08-16 22:37:26 +01:00
Adam Dangoor
ae8b37793d
Improve typing for `mocksvgconverter.py` (#12788)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-16 22:35:32 +01:00
Adam Dangoor
d1c23a08a9
Add per-event overloads to `EventManager.connect()` (#12787)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-16 21:46:55 +01:00
Adam Turner
c9d3414be7 Better typing for ObjType 2024-08-16 20:58:19 +01:00
Adam Turner
f9b3355642 Split `Index{Entry}` 2024-08-16 20:58:10 +01:00
Adam Dangoor
d56cf30ecb
Fix `sphinx.testing.path.path.write_bytes` bytes type (#12790) 2024-08-16 10:46:54 +01:00
Adam Dangoor
0530f9808b
Add type hint for a use of Pytest's `tmp_path_factory` (#12791) 2024-08-16 10:46:06 +01:00
Adam Dangoor
f807729ae5
Avoid a potential `NameError` (#12789) 2024-08-16 10:45:24 +01:00
Adam Dangoor
cb455ddada
Add per-event overloads to `Sphinx.connect()` (#12784)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-08-15 21:49:50 +01:00
Adam Turner
76ead8737d Bump Ruff to 0.6.0 2024-08-15 21:42:32 +01:00
Adam Turner
3cebbd9156
Fix linting job (#12786) 2024-08-15 20:16:26 +00:00
Tim Hoffmann
49c3b21c60
Format directive options and add some missing ones (#12779)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-08-14 20:59:50 +01:00
Adam Turner
eb6ff0a258
Increase test independence by using the basic theme (#12776) 2024-08-14 20:45:33 +01:00
Jean-François B
444cc04444 LaTeX: Lift a potential limitation of \sphinxincludegraphics 2024-08-14 14:50:40 +02:00
Adam Turner
fadb6b10cb
Stop exiting early with `--fail-on-warnings; add --exception-on-warning` (#12743)
Co-authored-by: Jeremy Maitin-Shepard <jbms@google.com>
2024-08-13 17:12:42 +01:00
Adam Turner
0b17bb1029
Always define the builder and `testroot when using the app` fixtureture (#12775) 2024-08-12 22:34:03 +01:00
Adam Turner
f7d6f4a212
Add debug logging for when `restify` fails (#12774) 2024-08-12 21:04:19 +01:00
James Addison
b4d2058310
Restore relative path output in the babel runner (#12773) 2024-08-12 14:54:31 +01:00
Adam Turner
03b9134ee0
Short-circuit HTTP requests in tests (#12772) 2024-08-12 03:49:58 +01:00
Adam Turner
070f2c1db0
Install graphviz on Windows (#12771) 2024-08-12 01:07:10 +01:00
Adam Turner
0c67623ae8
Speed up setup of jobs in GitHub Actions (#12769) 2024-08-12 00:01:36 +01:00
James Addison
0bfaadf6c9
singlehtml: Use same-document hyperlinks for internal project references (#12551)
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>
2024-08-11 22:43:48 +01:00
Adam Turner
a3f138329b
Refactor `BuildInfo` and move to a new module (#12768) 2024-08-11 22:09:59 +01:00
Jean-François B.
9d3087cc92
LaTeX: let latexpdf implement '-q' and '-Q' sphinx-build options (#12729) 2024-08-11 21:33:07 +01:00
Jeremy Bowman
0cbdd98ffb
Correctly support custom gettext output templates (#12645)
Co-authored-by: Jeremy Bowman <jmbowman@alum.mit.edu>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-08-11 20:34:04 +01:00
Tim Hoffmann
646a5d7482
Support type-dependent search result highlighting via CSS (#12474)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: James Addison <55152140+jayaddison@users.noreply.github.com>
2024-08-11 20:22:21 +01:00
Hugo van Kemenade
9171f533cc
Fix singular and plural search results text (#12639)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-08-11 20:19:05 +01:00
Tim Hoffmann
6d3e5c71b3
Fix warning on not finding documents in toctree glob (#12720) 2024-08-11 20:18:48 +01:00
Adam Turner
be73e64a9f
Add `sphinx.util._files` (#12766) 2024-08-11 19:51:59 +01:00
nikkie
c6163ff442
Fix a typo in `extdev/testing.rst` (#12765) 2024-08-11 17:57:46 +01:00
nikkie
df75a67c48
Fix the type annotation for `sphinx.testing.fixtures.rootdir` (#12764)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-11 17:56:37 +01:00
Adam Turner
629b0aef8c
Remove `sphinx.util.Tee` (#12763) 2024-08-11 17:35:04 +01:00
Adam Turner
daf1e28384 Remove `sphinx.util._coding_re` 2024-08-11 17:30:40 +01:00
Adam Turner
d39ba32604
Add `sphinx.util._importer` (#12762) 2024-08-11 17:24:26 +01:00
James Addison
655d1c7213
intersphinx: Reduce log message severity when an ambiguous target resolves to a duplicate (#12587) 2024-08-11 17:22:37 +01:00
Adam Turner
ed7a980b34 Fix test formatting 2024-08-11 16:58:19 +01:00
James Addison
999baca135
Mention dynamically-evaluated templates whilst copying static files (#12726) 2024-08-11 16:37:41 +01:00
Tim Hoffmann
4cf8f7a093
Restructure documentation for the toctree directive (#12725)
Structure the options using `.. rst:directive:option::` and adapt some descriptions where suitable.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-08-11 16:36:01 +01:00
James Addison
3bab3248e5
HTML search: Add test coverage & introduce test module file suffix (#12759) 2024-08-11 15:13:14 +01:00
Adam Turner
918feed695
Enable automatic formatting for `tests/` (#12761) 2024-08-11 15:05:12 +01:00
Adam Turner
d03156e078
Format `tests/` (#12760) 2024-08-11 14:58:56 +01:00
Adam Turner
620e434f65
Improve string concatenation (#12758)
Use implicit concatenation over ``+``, and combine some implicit concatenations
to a single string literal.
2024-08-11 00:39:35 +01:00
Adam Turner
18fbced7e0
Reduce the formatter's target line length to 88 (#12757) 2024-08-11 00:19:50 +01:00
Adam Turner
d7a22c2d0a
Add lower-bounds to the `sphinxcontrib-*` dependencies (#12756) 2024-08-10 21:23:25 +01:00
James Addison
e3238260f6
Migrate JavaScript tests from Karma to the Jasmine framework (#12754) 2024-08-10 00:18:27 +01:00
dependabot[bot]
96b511798d
Bump Ruff to 0.5.7 (#12750) 2024-08-09 21:22:35 +01:00
Tim Hoffmann
d40840ebf1
Slightly simplify toctree code (#12724) 2024-08-09 21:22:12 +01:00
Eric Larson
4f270a5da9
Tell users when a template causes build invalidation (#12746)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-08 19:05:39 +01:00