Add translated docs building

openstackdocstheme 1.28.0 contains a script to allow building
of English and translated documents, use this to publish our documents.

Add setup.cfg, this is needed by the openstackdocstheme.

Change-Id: I4b2af19a62af260a02eb7b48e750da69418ad1c9
This commit is contained in:
Andreas Jaeger 2018-11-24 17:44:56 +01:00
parent f572e189bf
commit 594827f115
3 changed files with 21 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.27.1 # Apache-2.0
openstackdocstheme>=1.28 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD

19
setup.cfg Normal file
View File

@ -0,0 +1,19 @@
[metadata]
name = operations-guide
summary = OpenStack Operations Guide
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = http://docs.openstack.org/operations-guide
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Topic :: Documentation
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]

View File

@ -13,4 +13,4 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
doc8 doc/source -e txt -e rst
sphinx-build -E -W -b html doc/source doc/build/html
docstheme-build-translated.sh