🎨 Fixed issue #6789

This commit is contained in:
Tetsuo Koyama 2019-11-04 20:24:18 +09:00
parent a6a2a59ab0
commit 7fbd9c02d0
4 changed files with 22 additions and 2 deletions

4
doc/_static/Makefile vendored Normal file
View File

@ -0,0 +1,4 @@
translation.png: translation.puml
plantuml $<
clean:
rm translation.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 20 KiB

16
doc/_static/translation.puml vendored Normal file
View File

@ -0,0 +1,16 @@
@startuml
file "SphinxProject"
file ".rst"
database ".pot"
database ".po"
database ".mo"
actor translator
file TranslatedBuild
translator -l-> .po
SphinxProject -r-> .rst
.rst -r-> .pot : sphinx-build gettext
.pot -r-> .po : Pootle
.po -d-> .mo : msgfmt
.mo -l-> TranslatedBuild
.rst -d-> TranslatedBuild : "sphinx-buid -Dlanguage="
@enduml

View File

@ -12,8 +12,8 @@ in itself. See the :ref:`intl-options` for details on configuration.
.. figure:: /_static/translation.png
:width: 100%
Workflow visualization of translations in Sphinx. (The stick-figure is taken
from an `XKCD comic <https://xkcd.com/779/>`_.)
Workflow visualization of translations in Sphinx. (The figure is created by
`plantuml <http://plantuml.com>`_.)
.. contents::
:local: