Commit Graph

20924 Commits

Author SHA1 Message Date
Adam Turner
90e82d0127 Bump to 7.3.3 final 2024-04-17 02:30:03 +01:00
Adam Turner
7bf847d2b9 Fix the valid types check for `Any in sphinx.config` 2024-04-17 02:27:21 +01:00
Adam Turner
1e98161d1f Bump version 2024-04-17 02:23:46 +01:00
Adam Turner
eb41357714 Bump to 7.3.2 final 2024-04-17 01:53:19 +01:00
Adam Turner
0c06a50222 Coerce invalid tuple values back to `_Opt` 2024-04-17 01:51:23 +01:00
Adam Turner
982681b44d Load all themes defined via entry points 2024-04-17 01:51:16 +01:00
Adam Turner
8fe915f59a Bump version 2024-04-17 01:48:18 +01:00
Adam Turner
8af2c43ca5 Bump to 7.3.1 final 2024-04-17 01:07:20 +01:00
Adam Turner
8a944ac87c Add `tomli` as a dependency for Python 3.10 and earlier 2024-04-17 01:05:49 +01:00
Adam Turner
4299600828 Bump version 2024-04-17 01:04:45 +01:00
Adam Turner
138184d834 Add various missing items to CHANGES.rst for 7.3.0 2024-04-17 00:57:53 +01:00
Adam Turner
092bac7f9c Bump to 7.3.0 final 2024-04-16 23:58:37 +01:00
Adam Turner
2b60e32be2 Update CHANGES.rst 2024-04-16 23:58:02 +01:00
James Addison
4f4d979b41
Use hash-based directory names in the remote image download cache (#12274)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-04-16 23:52:06 +01:00
github-actions[bot]
9078cf21df
Update message catalogues (#11626)
Co-authored-by: AA-Turner <9087854+AA-Turner@users.noreply.github.com>
2024-04-16 22:59:33 +01:00
Adam Turner
7c783d3356 Whitelist failures in Tamil translations 2024-04-16 22:52:46 +01:00
Adam Turner
5562e2b032 Restore formatting in `.ruff.toml` 2024-04-15 02:02:19 +01:00
Adam Turner
873d7431a7 Use f-strings in `sphinx.util.typing` 2024-04-15 01:55:44 +01:00
Adam Turner
09d05a0858 Don't render types with `Optional[...]`
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-04-15 01:35:47 +01:00
Adam Turner
5ed1921abb Use sentinel objects in `sphinx.util.inspect`
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-04-15 00:39:15 +01:00
Bénédikt Tran
e352a675de
Improve `sphinx.util.inspect` (#12256)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-04-13 01:10:17 +01:00
James Addison
67303920fe
Make the test suite connectivity-agnostic (#12095)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-04-12 23:32:12 +01:00
James Addison
e1d5235d5d
Escape reserved path characters in the remote images post-transform (#12253)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-04-12 23:21:24 +01:00
James Addison
532ad0306e
linkcheck: Make the new 'timeout' status opt-in (#12023)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-04-12 23:18:22 +01:00
Adam Turner
db7ba522d7
Install epubcheck for Docutils HEAD tests (#12272) 2024-04-12 21:32:19 +01:00
Adam Turner
b30088d68f Bump Ruff to 0.3.7 2024-04-12 21:04:51 +01:00
Adam Turner
b4cccb70f7
Support Docutils 0.21 (#12267) 2024-04-12 19:42:15 +01:00
Adam Turner
6419d31bef
Partially revert Docutils' [r9562] to fix epubcheck (#12271) 2024-04-12 19:39:27 +01:00
Adam Turner
5d98553b63 Add Python 3.12 to the version support policy 2024-04-11 19:57:11 +01:00
Adam Turner
f51b9d9988 Test with Docutils 0.21 2024-04-11 19:51:47 +01:00
Adam Turner
8ee9c536b7
Fix mypy errors on Windows (#12266) 2024-04-11 19:40:53 +01:00
Dimitri Papadopoulos Orfanos
5bec029bfd
Import `Sequence from collections.abc` (#12252) 2024-04-11 19:03:04 +01:00
Adam Turner
72760ad5f3 Ensure that `[theme] and [options] are tables in theme.toml` 2024-04-11 19:01:17 +01:00
Adam Turner
44a42d53af Add basic tests for `_ConfigFile` 2024-04-11 19:01:17 +01:00
Adam Turner
fba5d2af6c Convert `theme.conf to theme.toml` (part 2) 2024-04-11 19:01:17 +01:00
Adam Turner
e29e5fed36 Convert `theme.conf to theme.toml` (part 1) 2024-04-11 19:01:17 +01:00
Adam Turner
254bfe4f4e Add `theme.toml` migration tool 2024-04-11 19:01:17 +01:00
Adam Turner
8976fa4498 Support `theme.toml` 2024-04-11 19:01:17 +01:00
Adam Turner
a5d7cce7f5 Fix `_ConfigFile` handling of sequence types 2024-04-11 19:01:17 +01:00
Dimitri Papadopoulos Orfanos
6caf4ee17e
Reduce size of PNG files in the tutorial (#12245) 2024-04-11 16:26:06 +01:00
Adam Turner
6fd8b30043
Parse `theme.conf to a new _ConfigFile` type (#12254) 2024-04-10 00:10:26 +01:00
Dimitri Papadopoulos Orfanos
dbedb52782
Apply the FURB142 Ruff rule (#12240) 2024-04-09 18:48:24 +01:00
Dimitri Papadopoulos Orfanos
be9b9349cc
Use the proper type for Pytest's "minversion" option (#12244)
Numbers (integer or decimal) are permitted, but strings are preferred
2024-04-09 18:46:32 +01:00
Adam Turner
9ebfadbcad Create subsection for theme configuration 2024-04-09 18:34:55 +01:00
Adam Turner
e3f0aa9307 Ensure raw strings are used for regular expression patterns 2024-04-09 18:33:42 +01:00
Dimitri Papadopoulos Orfanos
63e7ee6de1
[docs] Fix a typo newly found by codespell (#12243) 2024-04-09 09:42:01 +02:00
Adam Turner
3421e5382a
Narrow `Generator[T, None, None] types to Iterator[T]` (#12241) 2024-04-09 03:26:44 +01:00
Eric Norige
413e740dca
🐛 Fix singlehtml target uris to be same-document references (#11970)
Before this change, target_uris would be generated as `index.html#foo`. 
This makes it difficult to rename the generated document and can require reloading the document when following a link.

After this change, they are just `#foo`, which avoids the above problems.
2024-04-08 00:08:30 +02:00
Bénédikt Tran
c7c02002e5
[search] fix an undefined local variable (#12235) 2024-04-06 20:12:53 +02:00
Bénédikt Tran
db4939f007
[misc] update wording of `versionadded to Added in [...]` (#12184)
Motivated by the community feedback, the wording of ``versionadded`` is changed 
from ``New in [...]`` to ``Added in [...]``.
2024-04-05 13:32:55 +02:00