Adam Turner
4862da883f
Bump version
2023-08-02 01:55:23 +01:00
Adam Turner
d8d73c16b8
Bump to 7.1.1 final
2023-07-27 21:35:23 +01:00
Adam Turner
a54e630a21
[internationalisation] Update message catalogues
2023-07-27 21:34:26 +01:00
Adam Turner and Bénédikt Tran
8452300d54
Fix multi-line copyright when `SOURCE_DATE_EPOCH` is set ( #11524 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com >
2023-07-27 21:27:14 +01:00
Adam Turner
fe08cec019
bump version
2023-07-27 20:20:33 +01:00
Adam Turner
e560f6334a
Bump to 7.1.0 final
2023-07-24 20:34:10 +01:00
Adam Turner and Manuel Kaufmann
066e0fabc6
Add translation progress information ( #11509 )
...
Co-authored-by: Manuel Kaufmann <humitos@gmail.com >
2023-07-24 20:19:31 +01:00
Adam Turner
0882914d5c
Target PyPI in create-release.yml
2023-07-24 16:52:37 +01:00
Adam Turner
21fbee5e83
Fix OIDC token payload
2023-07-24 16:42:36 +01:00
Adam Turner
1a403e4f9a
Add informational log messaging
2023-07-24 16:39:15 +01:00
Adam Turner
258b0ea9fc
Revert "Switch to using `github.request`"
...
This reverts commit f9c89e5d84 .
2023-07-24 16:30:36 +01:00
Adam Turner
f9c89e5d84
Switch to using `github.request`
2023-07-24 16:08:01 +01:00
Adam Turner
52c7f66ce1
Use the correct token minting URL for TestPyPI
2023-07-24 15:40:25 +01:00
Adam Turner
6079f28faa
Install twine in PyPI publish workflow
2023-07-24 15:26:17 +01:00
Adam Turner
3d43b9efdb
Fix github-script syntax in create-release.yml
2023-07-24 15:20:28 +01:00
Adam Turner
a539ce78f5
Add GitHub Actions environment; fix variable names
2023-07-24 15:12:46 +01:00
Adam Turner
c161e9c286
Publish releases to PyPI
...
Implement the PyPI trusted publisher OIDC flow within GitHub Actions.
2023-07-24 14:58:06 +01:00
Adam Turner
5c31195e91
Include the translated string in babel error messages
2023-07-24 13:33:12 +01:00
Adam Turner
1437d2a746
Reduce heading underline length for "Testing"
2023-07-24 13:00:29 +01:00
Adam Turner
dc14b4288e
Update CHANGES for Sphinx 7.1.0
2023-07-24 12:51:58 +01:00
Adam Turner
914c317a1e
Provide timezone information in `datetime.fromtimestamp`
...
Python 3.12 has deprecated ``datetime.utcfromtimestamp``,
use timezone-aware datetime objects instead.
2023-07-24 12:40:28 +01:00
Adam Turner
e4d1477c05
Test with Python 3.13 alpha releases ( #11507 )
2023-07-24 11:46:14 +01:00
Adam Turner
24b4d65a02
Re-structure index entry processing ( #11505 )
2023-07-24 03:17:29 +01:00
Adam Turner
f5aadc1c3f
Remove "Release signatures" section of the README
...
PyPI has stopped supporting signed releases.
https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-07-23 23:17:46 +01:00
Adam Turner
ae866b1289
Avoid deprecated `Node.traverse method in test_node_translated_attribute`
2023-07-23 21:33:15 +01:00
Adam Turner
aabcda94cf
Add more information for the `test_gettext_dont_rebuild_mo` test ( #11500 )
2023-07-23 00:32:27 +01:00
Adam Turner
d71c781187
Re-structure the `linkcheck` builder ( #11499 )
...
Re-organise and re-structure the ``linkcheck`` builder:
- All functions defined within functions are factored out into top-level functions or class methods
- Classes and methods have been re-arranged (Builder, PostTransform, Checker, Worker)
- TLS verification on ``sphinx.util.requests`` has been changed to not pass the ``Config`` object all the way down
- The ``Hyperlink`` object now stores the document path
- ``BuildEnvironment`` and ``Config`` objects are used to extract properties and are not stored as class attributes
2023-07-23 00:01:41 +01:00
Adam Turner
ce140e8155
Introduce artificial delay into `test_gettext_dont_rebuild_mo`
2023-07-20 21:51:08 +01:00
Adam Turner
571becb6af
Re-instate the footnote-reference class
2023-07-14 07:50:12 +01:00
Adam Turner
0858c3b841
Resolve `mypy` warnings
2023-07-14 07:06:46 +01:00
Adam Turner
7c8eda24a1
Resolve `sphinx-lint` warnings
2023-07-14 06:55:18 +01:00
Adam Turner
de3aa8a318
Replace non-functional Bitbucket URLs
...
- ``sphinx-contrib`` has moved to GitHub
- Replace personal project links with links to the Bitbucket archive
2023-07-14 06:52:25 +01:00
Adam Turner
d3c91f9512
Refactor `status_iterator`
2023-05-15 10:43:55 +01:00
Adam Turner
d8d7fed993
Don't add colours to messagelog
...
We need to remove colours later for display, so it is pointless to add them.
2023-05-15 10:20:31 +01:00
Adam Turner
00eeea3d9b
Simplify `make clean`
2023-05-13 01:17:35 +01:00
Adam Turner
343e149398
Merge branch '7.0.x'
...
# Conflicts:
# CHANGES
# sphinx/__init__.py
2023-05-12 22:57:09 +01:00
Adam Turner
d48cc783b6
Bump to 7.0.1 final
2023-05-12 22:48:41 +01:00
Adam Turner
749af9561e
Bump version
2023-05-12 13:57:37 +01:00
Adam Turner
c73628dfca
Accept a version tuple in `app.require_sphinx()`
2023-05-11 13:50:45 +01:00
Adam Turner
ae206694e6
html builder: Append CRC32 checksum to asset URIs ( #11415 )
2023-05-11 05:19:31 +01:00
Adam Turner
706f5f9cc8
Warn on deprecated Python-specific index types ( #11412 )
2023-05-09 22:57:39 +01:00
Adam Turner
db546189ce
Support Docutils 0.20 ( #11411 )
2023-05-09 21:00:04 +01:00
Adam Turner
8942a1dddf
Test with Docutils 0.20
2023-05-09 19:24:18 +01:00
Adam Turner
2b1c106bbf
Update documentation workflow
...
- Add 'workflow_dispatch' target
- Force output to use colour
- Print traceback on error
- Use parallel building
2023-05-09 16:51:52 +01:00
Adam Turner
ba7408209e
Change concurrency groups for GitHub workflows
...
This means that 'push' triggered workflows are not cancelled.
2023-04-29 22:44:55 +01:00
Adam Turner
b546879539
Bump version
2023-04-29 22:26:43 +01:00
Adam Turner
d568b2f4f7
Bump to 7.0.0 final
2023-04-29 22:25:57 +01:00
Adam Turner
ff79edf353
Remove `jsdump` references post removal
2023-04-28 22:50:01 +01:00
Adam Turner
1a5133ac39
Bump to 7.0.0rc1 final
2023-04-28 12:30:48 +01:00
Adam Turner
5795fc7f9f
Update `sphinx.deprecation` for Sphinx 7.0 ( #11386 )
2023-04-28 12:10:13 +01:00
Adam Turner
6202087f91
Add a note to CHANGES for PR 11385
2023-04-28 12:04:41 +01:00
Adam Turner
ad473730a3
Remove HTML 4 support ( #11385 )
2023-04-28 11:32:12 +01:00
Adam Turner
3e3251d3ba
Remove `HTMLTranslator and html5_ready from sphinx.builders.html` ( #11383 )
2023-04-28 11:01:14 +01:00
Adam Turner
77fd819a09
Remove deprecated `LaTeXTranslator.docclasses` attribute ( #11382 )
2023-04-28 10:50:57 +01:00
Adam Turner
4be56f3b7d
Remove deprecated `style` key for HTML templates ( #11381 )
2023-04-28 10:41:59 +01:00
Adam Turner
49027a9ae6
Autosummary: Always emit grouped `ImportError` exceptions ( #11380 )
2023-04-28 10:32:04 +01:00
Adam Turner
a464c5851d
Make the `env argument to Builder` subclasses required ( #11379 )
2023-04-28 10:25:57 +01:00
Adam Turner
d22e660347
Remove deprecated `sphinx.util.docutils.is_html5_writer_available()` function ( #11378 )
2023-04-28 10:14:53 +01:00
Adam Turner
ce606d82cd
Removed deprecated `sphinx.util.get_matching_files()` function ( #11373 )
2023-04-28 09:55:14 +01:00
Adam Turner
262e1d9857
Remove deprecated `sphinx.io.read_doc()` function ( #11372 )
2023-04-27 16:01:14 +01:00
Adam Turner
24f476949d
Remove deprecated `sphinx.pycode.ast.parse()` ( #11371 )
2023-04-27 15:18:44 +01:00
Adam Turner
583fb74bd4
Remove deprecated `sphinx.util.stemmer` module ( #11370 )
2023-04-27 14:53:51 +01:00
Adam Turner
3c4e78e236
Make `locale required in sphinx.util.i18n.format_date()` ( #11366 )
2023-04-27 01:30:40 +01:00
Adam Turner
ce5ce1ac2d
Remove support for the `jsdump format in sphinx.search` ( #11365 )
2023-04-27 01:28:45 +01:00
Adam Turner
973e8fb5cf
Remove the deprecated `sphinx.ext.napoleon.iterators` module ( #11364 )
2023-04-27 01:27:07 +01:00
Adam Turner
2a9e805206
Remove the deprecated Setuptools integration ( #11363 )
2023-04-27 01:22:04 +01:00
Adam Turner
616ba29f28
Harmonise references to Sphinx versions ( #11361 )
2023-04-27 01:02:09 +01:00
Adam Turner
8dd44d1e13
Remove deprecated `make_old_id` functions ( #11360 )
2023-04-27 01:01:09 +01:00
Adam Turner
124957a89c
Remove deprecated search splitters in `sphinx.search.ja` ( #11359 )
2023-04-27 00:50:02 +01:00
Adam Turner
4eb706eb21
Bump version
2023-04-26 17:24:54 +01:00
Adam Turner
720f89d1d6
Update test for Alabaster version tuple
2023-04-26 17:24:02 +01:00
Adam Turner
bc04444cb8
Bump version
2023-04-25 11:53:35 +01:00
Adam Turner
ec993dda36
Bump to 6.2.1 final
2023-04-25 11:53:08 +01:00
Adam Turner
d2aa91f63c
Revert the default type of `nitpick_ignore[_regex] to list`
2023-04-25 11:31:57 +01:00
Adam Turner
60d8fa10b8
Bump version
2023-04-23 21:04:09 +01:00
Adam Turner
70102ac2ee
Bump to 6.2.0 final
2023-04-23 21:03:34 +01:00
Adam Turner
4e27a5fba1
Remove unneeded JavaScript from `sphinx13` theme
2023-04-23 20:45:57 +01:00
Adam Turner
bffb54734f
Note correct deprecation version for `sphinx.util.osutil.cd`
2023-04-23 20:45:25 +01:00
Adam Turner
aee3c0ab75
Partially revert "Disable localisation when SOURCE_DATE_EPOCH is set ( #10949 )" ( #11343 )
...
This keeps some of the added tests, and avoids a full revert of ``sphinx.locale``.
2023-04-21 19:04:26 +01:00
Adam Turner
2c83af0aab
Refactor `_TranslationProxy`
2023-04-08 05:09:12 +01:00
Adam Turner
31ca962713
Use PEP 585 and 604 type annotations in `sphinx.locale`
2023-04-08 05:08:50 +01:00
Adam Turner
7ecf037280
Enable 'nit-picky mode' for Sphinx's documentation
...
Fix several reference errors throughout the documentation and set
``nitpick_ignore`` in ``doc/conf.py``.
2023-04-06 23:11:39 +01:00
Adam Turner
52a099b7ec
Resolve lint errors from Ruff 0.0.261
2023-04-05 14:19:43 +01:00
Adam Turner
4a3febb69a
Add an option for displaying short `Literal` types ( #11109 )
...
The new ``python_display_short_literal_types`` configuration option
for the ``py`` domain controls display of PEP 586 ``Literal`` types.
The 'short' format is inspired by PEP 604, using the bitwise OR operator
to distinguish the possible legal values for the argument.
2023-04-05 13:07:25 +01:00
Adam Turner
609b2f2650
Add entries to the `.git-blame-ignore-revs` file
2023-04-04 22:06:49 +01:00
Adam Turner
098799b33e
Add `.git-blame-ignore-revs` file
2023-04-04 22:06:49 +01:00
Adam Turner
9b0c73d70e
Re-combine `CHANGES and CHANGES.old`
...
The separation made pre-Sphinx 1.0 changes harder to find from the
online documentation, and offered little benefit in terms of file
length given that CHANGES was already near 7,500 lines long. Perhaps
a future change could be to split CHANGES by version, similar to
Python's "What's New".
2023-04-04 22:06:49 +01:00
Adam Turner
9b4a895ad7
Use literal syntax in `CHANGES.old`
2023-04-04 22:06:27 +01:00
Adam Turner
ad98c72290
Remove 'Previous versions' section in CHANGES
2023-04-04 19:03:30 +01:00
Adam Turner
961f96de7a
Use the `:dudir:` role with explicit titles
2023-04-04 18:34:58 +01:00
Adam Turner
15553da9c8
Resolve lint errors from Ruff 0.0.260
2023-03-31 17:52:51 +01:00
Adam Turner
f019b89c05
Run Ruff linting with a known-to-work version
...
This means that CI tests will only fail if the 'known good' version
fails. If the latest version of Ruff fails, perhaps due to new
checks, CI will not fail overall, but the failures from the latest
version will be reported.
2023-03-31 17:52:29 +01:00
Adam Turner
c7d7f2951d
Remove `sphinx.locale.setlocale`
2023-03-24 01:30:44 +00:00
Adam Turner
7d928b3e79
Increase `test_linkcheck` timeouts
2023-03-24 01:07:25 +00:00
Adam Turner
e3567bfb16
Update CHANGES for Sphinx 6.2.0
2023-03-24 01:05:15 +00:00
Adam Turner
f5c957597d
Normalise spelling of Sphinx versions
2023-03-24 00:44:33 +00:00
Adam Turner
97f07ca83c
Speed up `test_linkcheck`
2023-03-24 00:29:27 +00:00
Adam Turner
9df3b59e00
Resolve lint errors from Ruff 0.0.259
2023-03-23 21:58:49 +00:00
Adam Turner
2ee7d0f678
Resolve lint errors from Ruff 0.0.257
2023-03-18 14:59:20 +00:00
Adam Turner
17d4dfa7fb
Remove useless compatability imports
...
This exposed names at ``sphinx.builders.html.sphinxcontrib.serializinghtml``,
etc, which offers no benefit. This was originally broken in commit
9dfbfbf16b , four years ago.
2023-03-17 21:32:52 +00:00