Adam Turner
1ea5a434b3
Fix `test_get_filename_for_language
` on Windows
2023-08-12 04:23:56 +01:00
Adam Turner
1a47e3a8be
Fix `test_missing_reference
` on Windows
2023-08-12 04:23:48 +01:00
Adam Turner
8111a3a211
Fix `test_html_inventory
` on Windows
2023-08-12 04:23:33 +01:00
Adam Turner
a392f4d5f4
Fix `test_graphviz_svg_html
` on Windows
2023-08-12 02:57:55 +01:00
Adam Turner
4b082f7dbf
Inline `css_tag
and
js_tag
`
2023-08-12 02:38:44 +01:00
Adam Turner
58b628263f
Deprecate `css_files
and
script_files
` ( #11582 )
2023-08-12 00:46:44 +00:00
Adam Turner
1db8cba339
Move CSS and JS file objects to `builders.html._assets
`
2023-08-12 01:10:49 +01:00
Adam Turner
f07715e4cc
Make DOCUMENTATION_OPTIONS `const
`
2023-08-12 00:50:20 +01:00
Adam Turner
8e730ae303
Move the content root marker to the `<html>
` element
2023-08-12 00:50:10 +01:00
Adam Turner
818895a158
Placate `isort
`
2023-08-12 00:27:13 +01:00
Adam Turner
42a6546404
Move `_file_checksum()
to
sphinx.builders.html._assets
`
2023-08-12 00:20:00 +01:00
Adam Turner
44a7820cd9
Raise an error when local asset files contain a `?
`
2023-08-11 22:07:07 +01:00
Eric Larson
7758e01623
Provide the reason why a document is out of date in all cases ( #11572 )
2023-08-11 00:12:44 +01:00
Adam Turner
e7cd97e9f4
Correct a typo in CHANGES (c.f. #10938 )
2023-08-10 23:24:12 +01:00
Adam Turner
177565584a
Tighten Pytest configuration ( #11577 )
2023-08-10 20:48:04 +01:00
Adam Turner
b91d763db8
Fix PT011 (`pytest.raises(ValueError)
` is too broad)
2023-08-10 13:11:25 +01:00
Adam Turner
78976662d9
Fix PT003 (implied `scope='function'
`)
2023-08-10 13:11:25 +01:00
Adam Turner
fb5b80c340
Fix PT007 (use lists in `pytest.mark.parametrize
`)
2023-08-10 13:11:24 +01:00
Adam Turner
02e011e4ff
Fix PT006 (use tuples in `pytest.mark.parametrize
`)
2023-08-10 13:00:48 +01:00
Adam Turner
976dd07ffe
Require Pygments 2.14 or later ( #11576 )
2023-08-10 11:35:45 +00:00
Adam Turner
8cabf08668
Cache the docname<->filename map in `Project
` instances ( #11575 )
2023-08-10 12:25:38 +01:00
Adam Turner
4dd2ed4bde
Spring-clean `test_build_gettext
` ( #11573 )
2023-08-10 09:20:48 +00:00
alvinhochun
c52d55ebd7
Exclude substitution definitions from the `gettext
` builder ( #9846 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-10 10:01:25 +01:00
Adam Turner
6f5a99a05d
Refactor `sphinx.environment.adapters.TocTree
` ( #11565 )
2023-08-09 15:43:26 +01:00
Albert Y. Shih
3e30fa36a2
Fix missing and broken links in inheritance diagrams ( #10614 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-08 20:32:58 +01:00
grayjk
ac2b7599d2
autosummary: Extract summary line after "e.g." ( #11196 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-07 22:20:30 +01:00
Adam Turner
8cd677f929
Add a new test for `_file_checksum
`
2023-08-07 21:51:25 +01:00
Adam Turner
85ffb3b0fd
Fix `test_assets_order
` for Pygments 2.16
2023-08-07 21:51:05 +01:00
Adam Turner
083d573b7c
Fix `test_dark_style
` for Pygments 2.16
2023-08-07 21:04:14 +01:00
Dmitry Shachnev
8a990db49e
Update `test_captioned_code_block
` for latest Docutils ( #11551 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-05 04:46:41 +01:00
Adam Turner
062a2e1d05
Set codec error handler for git hash detection
2023-08-05 03:50:52 +01:00
Adrian Vollmer
92c4874620
Correct a spelling error in `sphinx.util.i18n
` ( #11549 )
2023-08-02 16:15:39 +01:00
Adam Turner
43ab23a61f
Merge branch '7.1.x'
...
# Conflicts:
# CHANGES
# sphinx/__init__.py
2023-08-02 02:58:30 +01:00
Adam Turner
320d0b631c
Bump to 7.1.2 final
2023-08-02 02:56:30 +01:00
James Addison
06c1339bb3
Ensure that `linkcheck_anchors
` is properly respected ( #11544 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-02 02:55:37 +01:00
James Addison
89808c6f49
Emend attribution for GH-11431 in CHANGES ( #11547 )
2023-08-02 02:08:06 +01:00
James Addison
a549c67615
Emend attribution for GH-11431 in CHANGES ( #11547 )
2023-08-02 02:06:49 +01:00
Jean-François B
4958d2abf1
Fix flake8 E231 reported linting failure
2023-08-02 02:04:55 +01:00
Adam Turner
4862da883f
Bump version
2023-08-02 01:55:23 +01:00
blaisep
b0fe730146
Fix #11407 adjust the spelling in the example.
2023-07-30 15:08:49 +02:00
Jean-François B
eb0499a696
Fix flake8 E231 reported linting failure
2023-07-30 15:00:55 +02:00
Jean-François B
f683244c91
LaTeX: remove potential space tokens from optionlist and lineblock
...
Relates #11530
2023-07-30 14:55:47 +02:00
Jean-François B
0003c6a79d
Update CHANGES for PR #11530
2023-07-30 14:52:20 +02:00
Adrian Vollmer
826b814894
Fix LaTeX output of line-block
...
Because the newlines are not commented out, this leaves an empty token
at the beginning of the block. This empty token manifests as a spurious
empty line in certain contexts, for example when using the line block
inside a definition list.
This closes #11529 .
2023-07-30 14:49:37 +02:00
Adam Turner
629b862cde
Spring-clean `sphinx.testing.utils
` ( #11534 )
2023-07-28 23:24:13 +01:00
Adam Turner
1cfb68d8be
Consistently name the object description options ( #11533 )
...
* The directive option ``:noindex:`` was renamed to ``:no-index:``.
* The directive option ``:noindexentry:`` was renamed to ``:no-index-entry:``.
* The directive option ``:nocontentsentry:`` was renamed to ``:no-contents-entry:``.
The previous names are retained as aliases, but will be deprecated
and removed in a future version of Sphinx (9.0 or later).
2023-07-28 22:30:26 +01:00
Adam Turner
ff20efcd7e
Tweaks to `doctest_show_successes
` ( #11535 )
2023-07-28 22:29:04 +01:00
Trey Hunner
aef5445153
Add `doctest_show_success
option to
sphinx.ext.doctest
` ( #10938 )
...
For documentation that includes *many* doctests,
seeing both successes and failures can add a lot of noise to the command output.
This change adds a ``doctest_show_success`` option that,
when set to ``False``, will only show doctest failures.
2023-07-28 22:16:38 +01:00
Rouslan Korneychuk
d1b09b04c2
Added TOC object entry support for the C++ domain ( #11221 )
...
When ``toc_object_entries_show_parents = 'domain'`` in the config,
the TOC entries omit the namespaces added by the ``cpp:namespace`` and ``cpp:namespace-push`` directives.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-07-28 20:14:49 +01:00
latosha-maltba
97d2c5da2f
Add the `:no-typesetting:
` option for only creating targets ( #10478 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-07-28 19:43:27 +01:00