doc: The default setting of "language" has been changed since v5.0

This commit is contained in:
Takeshi KOMIYA 2022-05-29 02:54:16 +09:00 committed by Adam Turner
parent 8e353e3103
commit 68252c646a
2 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,9 @@ Dependencies
Incompatible changes
--------------------
* #10474: :confval:`language` does not accept ``None`` as it value. The default
value of ``language`` becomes to ``'en'`` now.
Deprecated
----------

View File

@ -725,7 +725,7 @@ documentation on :ref:`intl` for details.
(e.g. the German version of ``myfigure.png`` will be ``myfigure.de.png``
by default setting) and substitute them for original figures. In the LaTeX
builder, a suitable language will be selected as an option for the *Babel*
package. Default is ``None``, which means that no translation will be done.
package. Default is ``'en'``.
.. versionadded:: 0.5
@ -733,6 +733,8 @@ documentation on :ref:`intl` for details.
Support figure substitution
.. versionchanged:: 5.0
Currently supported languages by Sphinx are:
* ``ar`` -- Arabic
@ -745,7 +747,7 @@ documentation on :ref:`intl` for details.
* ``da`` -- Danish
* ``de`` -- German
* ``el`` -- Greek
* ``en`` -- English
* ``en`` -- English (default)
* ``eo`` -- Esperanto
* ``es`` -- Spanish
* ``et`` -- Estonian