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
Jean-François B.
586c0cd178
Revert "Mark `test_build_manpage
` as XFAIL following changes in Docutils master" ( #12734 )
...
This reverts commit 1ed4ca7
.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-07 16:04:07 +01:00
Chris Sewell
05cc39d9b2
[rst] Improve unreferenced footnote warnings ( #12730 )
...
The previous `UnreferencedFootnotesDetector` transform was untested and missed warnings for a number of cases.
This commit adds a test, to cover a reasonable range of scenarios,
then changes how the detection works to pass this test.
The transform now runs just after the docutils `Footnote` resolution transform
(changing its priority from 200 to 622)
then simply check for any footnotes without "back-references".
2024-08-05 10:28:13 +02:00
Adam Turner
df871ab15b
Don't truncate debug logs for emitted events
2024-08-01 08:07:08 +01:00
Adam Turner
f893408dff
Reflect minimum flake8 version
2024-07-31 12:29:00 +01:00
Adam Turner
6a10e65473
Harmonise `Builder.write_doc()
`
2024-07-31 12:29:00 +01:00
dependabot[bot]
e3882b9330
Bump mypy to 1.11.1 ( #12716 )
2024-07-31 09:42:36 +01:00
Jean-François B.
97391b4a7f
LaTeX refactoring, use \RequirePackage always, not \input ( #12703 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-31 10:30:26 +02:00
Shengyu Zhang
03d684fe9f
intersphinx: Handle a negative `intersphinx_cache_limit
` ( #12514 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-31 08:16:10 +01:00
Jean-François B.
4a95555eae
Prettier console output from latex, texinfo, singlehtml and man page builders while inlining toctrees ( #12681 )
2024-07-31 07:38:19 +01:00
Adam Turner
f0365cda38
Add titles to version-specific changes files
2024-07-30 21:09:33 +01:00
Adam Turner
0afcd01b08
Restore a missing reference target
2024-07-30 21:09:33 +01:00
Adam Turner
add38d9862
Move Sphinx 8.0 CHANGES to a dedicated file
2024-07-30 21:09:33 +01:00
Adam Turner
0eb3e822b6
Move Sphinx 7.4 CHANGES to a dedicated file
2024-07-30 21:09:33 +01:00
Adam Turner
f3c2fcddd4
Move Sphinx 7.3 CHANGES to a dedicated file
2024-07-30 21:09:33 +01:00
Adam Turner
a5aacd01d7
Move Sphinx 7.2 CHANGES to a dedicated file
2024-07-30 21:09:33 +01:00
Adam Turner
40abc219e2
Move Sphinx 7.1 CHANGES to a dedicated file
2024-07-30 21:09:33 +01:00
Adam Turner
9f4c2a9a27
Move Sphinx 7.0 CHANGES to a dedicated file
2024-07-30 21:09:32 +01:00