mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
[docs] Update changelog (#12454)
Some additions to the changelog, that were not added in the relevant PRs.
This commit is contained in:
parent
d7e1bfeb4b
commit
11abfb90ba
25
CHANGES.rst
25
CHANGES.rst
@ -13,12 +13,12 @@ Deprecated
|
|||||||
Features added
|
Features added
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
* #12448: Add ``--remove-old`` option to ``sphinx-apidoc``.
|
* #12448: Add :option:`sphinx-apidoc --remove-old` option.
|
||||||
|
Patch by Chris Sewell.
|
||||||
|
* #12358: Add :attr:`.Sphinx.fresh_env_used`.
|
||||||
|
Patch by Chris Sewell.
|
||||||
|
* #12361: Add :attr:`.BuildEnvironment.parser`.
|
||||||
Patch by Chris Sewell.
|
Patch by Chris Sewell.
|
||||||
|
|
||||||
* #12361: Allow the parser instance to be accessed within directives
|
|
||||||
with ``self.env.parser``. Patch by Chris Sewell.
|
|
||||||
|
|
||||||
* #11165: Support the `officially recommended`_ ``.jinja`` suffix for template
|
* #11165: Support the `officially recommended`_ ``.jinja`` suffix for template
|
||||||
files.
|
files.
|
||||||
Patch by James Addison and Adam Turner
|
Patch by James Addison and Adam Turner
|
||||||
@ -27,10 +27,9 @@ Features added
|
|||||||
* Flatten ``Union[Literal[T], Literal[U], ...]`` to ``Literal[T, U, ...]``
|
* Flatten ``Union[Literal[T], Literal[U], ...]`` to ``Literal[T, U, ...]``
|
||||||
when turning annotations into strings.
|
when turning annotations into strings.
|
||||||
Patch by Adam Turner.
|
Patch by Adam Turner.
|
||||||
* Add detection of ambiguous ``std:label`` and ``std:term`` references during
|
* #12329: Add detection of ambiguous ``std:label`` and ``std:term`` references during
|
||||||
loading and resolution of Intersphinx targets.
|
loading and resolution of Intersphinx targets.
|
||||||
Patch by James Addison.
|
Patch by James Addison.
|
||||||
|
|
||||||
* #12319: ``sphinx.ext.extlinks``: Add ``extlink-{name}`` CSS class to links.
|
* #12319: ``sphinx.ext.extlinks``: Add ``extlink-{name}`` CSS class to links.
|
||||||
Patch by Hugo van Kemenade.
|
Patch by Hugo van Kemenade.
|
||||||
|
|
||||||
@ -55,6 +54,18 @@ Bugs fixed
|
|||||||
so that if either of the two values is modified, the other reflects that
|
so that if either of the two values is modified, the other reflects that
|
||||||
modification. It is still recommended to use :confval:`root_doc`.
|
modification. It is still recommended to use :confval:`root_doc`.
|
||||||
Patch by Bénédikt Tran.
|
Patch by Bénédikt Tran.
|
||||||
|
* #12220: Fix loading custom template translations for ``en`` locale.
|
||||||
|
Patch by Nicolas Peugnet.
|
||||||
|
|
||||||
|
Improvements
|
||||||
|
------------
|
||||||
|
|
||||||
|
* #12387: Improve CLI progress message, when copying assets.
|
||||||
|
Patch by Bénédikt Tran.
|
||||||
|
* #12422: Do not duplicate "navigation" in aria-label of built-in themes.
|
||||||
|
Patch by Thomas Weißschuh
|
||||||
|
* #12421: Include project name in ``logo_alt`` of built-in themes.
|
||||||
|
Patch by Thomas Weißschuh
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
@ -137,6 +137,8 @@ The application object also provides runtime information as attributes.
|
|||||||
|
|
||||||
Directory for storing built document.
|
Directory for storing built document.
|
||||||
|
|
||||||
|
.. autoattribute:: Sphinx.fresh_env_used
|
||||||
|
|
||||||
Sphinx core events
|
Sphinx core events
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -45,6 +45,8 @@ Build environment API
|
|||||||
|
|
||||||
.. autoattribute:: docname
|
.. autoattribute:: docname
|
||||||
|
|
||||||
|
.. autoattribute:: parser
|
||||||
|
|
||||||
**Utility methods**
|
**Utility methods**
|
||||||
|
|
||||||
.. automethod:: doc2path
|
.. automethod:: doc2path
|
||||||
|
Loading…
Reference in New Issue
Block a user