James Addison
71d3eaee75
Add 'noindex' meta robots tag to the search results page ( #11700 )
2023-10-03 14:15:57 +01:00
Jakob Lykke Andersen
b9c85984d2
intersphinx: Group all std domain tests together
2023-09-21 23:04:42 +01:00
Bénédikt Tran
46f8f76e56
Fix the lazy loading conditions for MathJax ( #11597 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2023-09-21 18:18:09 +01:00
Aryaz Eghbali
abf42e901e
Skip all hidden directories in `CatalogRepository` ( #11667 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2023-09-21 09:30:26 +00:00
Bénédikt Tran
5fe0bd41eb
Strip ANSI control codes when writing to the warnings file ( #11624 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2023-09-21 10:01:07 +01:00
Adam Turner
cb0c6a359b
Add `sphinx.util._strip_escape_sequences`
2023-09-20 23:55:00 +01:00
Pietro Albini
8e768e6c23
Make `searchindex.js deterministic ( #11665 )
2023-09-16 04:36:51 +01:00
Vinay Sajip
f0c25a0ada
Raise a useful error if `theme.conf` doesn't exist ( #11671 )
2023-09-14 11:49:41 +01:00
Matt Wozniski
43d69755df
Leverage `importlib.reload` for reloading modules ( #11679 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2023-09-13 22:58:35 +01:00
Adam Turner
3d0110a95a
Enable test_cython on Python 3.12
2023-09-13 03:07:19 +01:00
Adam Turner
2a631f97ef
Restore support for YYYY copyright lines
2023-08-30 22:51:23 +01:00
Adam Turner
ff18318613
Add an `'include-read'` event ( #11657 )
2023-08-30 22:21:16 +01:00
Adam Turner
7d046a862f
Allow `?config=... in mathjax_path` ( #11659 )
2023-08-30 19:35:29 +01:00
Albert Y. Shih
4692208fde
Fix two relative link bugs in inheritance diagrams ( #11634 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2023-08-30 18:44:37 +01:00
Matt Wozniski
8248be31db
autodoc: Reset `sys.modules` on partial import failure ( #11645 )
...
If importing with ``TYPE_CHECKING is True`` fails, reset the state of ``sys.modules``
so that the attempt with ``TYPE_CHECKING is False`` may succeed.
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2023-08-29 20:05:41 +01:00
Dmitry Shachnev
2f025a4b22
linkcheck: Fix conversion from UTC time to the UNIX epoch ( #11649 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2023-08-28 03:39:13 +00:00
Adam Turner
5e88b9f886
Fix the MoveModuleTargets transform ( #11647 )
...
This resolves a regression introduced in GH-10478
(commit 97d2c5da2f ).
2023-08-26 09:30:28 +00:00
Bénédikt Tran
76658c49a9
Fix `sphinx.ext.autodoc.preserve_defaults` ( #11550 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2023-08-17 01:19:25 +00:00
Adam Turner
9d8ef833db
Fix `test_inspect_main_noargs`
2023-08-16 23:49:30 +01:00
Adam Turner
e3f0342932
Enable E241 (Multiple spaces after comma)
2023-08-15 18:16:27 +01:00
Stephen Finucane
53a930f8c7
Fix C coverage support in `sphinx.ext.coverage` ( #11591 )
2023-08-15 14:50:15 +01:00
Bénédikt Tran
19018f01b6
Improve SigElementFallbackTransform fallback logic. ( #11311 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2023-08-15 14:25:25 +01:00
picnixz
2656f34848
Fix rendering of `Literal` annotations with enum values ( #11517 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2023-08-14 23:33:57 +01:00
Riccardo Mori
137b3adce1
Make stringify_annotation recursive on builtins with args ( #11570 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2023-08-14 19:28:12 +01:00
Halldor Fannar
0bad447070
Emit "source-read" events for files read via the `include` directive ( #11510 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
Co-authored-by: picnixz <10796600+picnixz@users.noreply.github.com >
2023-08-14 16:02:04 +01:00
Adam Turner
08dbaa793e
Fix SIM117 (use single 'with' statement)
2023-08-14 00:18:13 +01:00
Adam Turner
3600862477
Fix SIM118 (use `key in dict not key in dict.keys()`)
2023-08-14 00:18:13 +01:00
Adam Turner
1fae1470a4
Fix SLOT002 (subclasses of collections.namedtuple() should define `__slots__`)
2023-08-13 22:32:46 +01:00
Adam Turner
d80eab689d
Fix EM10{1,2} (exception must not use a string)
2023-08-13 22:11:15 +01:00
Adam Turner
b533ef1662
Fix DTZ00{0-4} (Do not use naive datetime objects)
2023-08-13 22:11:15 +01:00
Adam Turner
d4169a32e7
Use `parsedate_tz` in the linkcheck builder
2023-08-13 22:11:15 +01:00
Adam Turner
e010e24728
Fix B904 (raise exceptions with `raise ... from ...`)
2023-08-13 22:11:15 +01:00
Adam Turner
bbfd3cd248
Fix B023 (function definition does not bind loop variable)
2023-08-13 22:11:15 +01:00
Adam Turner
1dcc112608
Fix B006 (Do not use mutable data structures for argument defaults)
2023-08-13 22:11:15 +01:00
Adam Turner
92e60b3f15
Fix PGH003 (type: ignore comment must have parameters)
2023-08-13 22:11:15 +01:00
Adam Turner
e2ff04eafe
Fix RES102 (Remove unnecessary parentheses)
2023-08-13 22:11:15 +01:00
picnixz
af38180a14
Allow inline links in first line of Google style docstrings ( #11316 )
2023-08-12 07:24:28 +01:00
Adam Turner
0a42d91e7e
Fix `test_{html,latex}_warnings`
2023-08-12 06:40:55 +01:00
Adam Turner
7d8df06e19
Relax Pygments parsing on lexing failures
2023-08-12 06:27:16 +01:00
Adam Turner
7e9a2066c2
Be more ephemeral (in anchor link title text)
2023-08-12 05:30:38 +01:00
Adam Turner
2ef9728b6e
Mark idempotent translations as 'translated' ( #11580 )
2023-08-12 04:51:52 +01:00
Adam Turner
c19f0ac8e9
Clarify why `test_logging_in_ParallelTasks` fails on Windows
2023-08-12 04:24:09 +01:00
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
58b628263f
Deprecate `css_files and script_files` ( #11582 )
2023-08-12 00:46:44 +00: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