Build translated docs

openstackdocstheme 1.28.0 includes a script to build English and
translated documents together, use this for building docs.

Require the new openstackdocstheme version.

Change-Id: If4102ec42ee7f58cff5da46ee326833471520412
This commit is contained in:
Andreas Jaeger 2019-01-02 10:21:09 +01:00 committed by Frank Kloeker
parent 5cd2665eed
commit 5bb36011bc
3 changed files with 5 additions and 2 deletions

View File

@ -84,3 +84,6 @@ latex_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
# -- Options for Internationalization output ------------------------------
locale_dirs = ['locale/']

View File

@ -3,5 +3,5 @@
# process, which may cause wedges in the gate later.
sphinx>=1.6.2 # BSD
openstackdocstheme>=1.11.0 # Apache-2.0
openstackdocstheme>=1.28.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0

View File

@ -19,7 +19,7 @@ commands = {posargs}
commands = doc8 -v doc README.rst
[testenv:docs]
commands = sphinx-build -E -W -b html -d doc/build/doctrees doc/source doc/build/html
commands = docstheme-build-translated.sh
[doc8]
# Settings for doc8: