Skip to content

Commit

Permalink
Merge pull request #7907 from tmetzl/patch-1
Browse files Browse the repository at this point in the history
doc: Clarify language specific figures format in docs
  • Loading branch information
tk0miya committed Jul 4, 2020
2 parents 0c0da9b + 5ba5cb6 commit f27dfe3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc/usage/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -660,10 +660,11 @@ documentation on :ref:`intl` for details.
generated by Sphinx will be in that language. Also, Sphinx will try to
substitute individual paragraphs from your documents with the translation
sets obtained from :confval:`locale_dirs`. Sphinx will search
language-specific figures named by `figure_language_filename` 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.
language-specific figures named by `figure.language.filename`
(e.g. the German version of ``myfigure.png`` will be ``myfigure.de.png``)
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.

.. versionadded:: 0.5

Expand Down

0 comments on commit f27dfe3

Please sign in to comment.