Merge "docs: Define locale directory"
This commit is contained in:
commit
586dde47c6
@ -5,3 +5,5 @@ firefox-esr [selenium platform:debian]
|
|||||||
xvfb [selenium platform:dpkg]
|
xvfb [selenium platform:dpkg]
|
||||||
# already part of xorg-x11-server on openSUSE
|
# already part of xorg-x11-server on openSUSE
|
||||||
xorg-x11-server-Xvfb [selenium platform:redhat]
|
xorg-x11-server-Xvfb [selenium platform:redhat]
|
||||||
|
# Required to build language docs
|
||||||
|
gettext
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
openstackdocstheme>=2.2.0 # Apache-2.0
|
openstackdocstheme>=2.2.1 # Apache-2.0
|
||||||
reno>=3.1.0 # Apache-2.0
|
reno>=3.1.0 # Apache-2.0
|
||||||
sphinx>=2.0.0 # BSD
|
sphinx>=2.0.0 # BSD
|
||||||
|
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
|
||||||
doc8>=0.8.1 # Apache-2.0
|
doc8>=0.8.1 # Apache-2.0
|
||||||
|
|
||||||
# The below is rewquired to build testing module reference
|
# The below is rewquired to build testing module reference
|
||||||
|
@ -110,7 +110,7 @@ copyright = '2012, OpenStack Foundation'
|
|||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
# language = None
|
language = 'en'
|
||||||
|
|
||||||
# There are two options for replacing |today|: either, you set today to some
|
# There are two options for replacing |today|: either, you set today to some
|
||||||
# non-false value, then it is used:
|
# non-false value, then it is used:
|
||||||
@ -342,3 +342,5 @@ epub_copyright = '2012, OpenStack'
|
|||||||
|
|
||||||
# Allow duplicate toc entries.
|
# Allow duplicate toc entries.
|
||||||
# epub_tocdup = True
|
# epub_tocdup = True
|
||||||
|
|
||||||
|
locale_dirs = ['locale/']
|
||||||
|
3
tox.ini
3
tox.ini
@ -153,6 +153,9 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
sphinx-build -j auto -W -b html doc/source doc/build/html
|
sphinx-build -j auto -W -b html doc/source doc/build/html
|
||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
|
docstheme-build-translated.sh
|
||||||
|
setenv =
|
||||||
|
SPHINX_WARNINGS_TRANS=1
|
||||||
|
|
||||||
[testenv:venv-docs]
|
[testenv:venv-docs]
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user