mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
🎨 Fixed issue #6789
This commit is contained in:
parent
a6a2a59ab0
commit
7fbd9c02d0
4
doc/_static/Makefile
vendored
Normal file
4
doc/_static/Makefile
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
translation.png: translation.puml
|
||||
plantuml $<
|
||||
clean:
|
||||
rm translation.png
|
BIN
doc/_static/translation.png
vendored
BIN
doc/_static/translation.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 20 KiB |
16
doc/_static/translation.puml
vendored
Normal file
16
doc/_static/translation.puml
vendored
Normal 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
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user