From 594827f115b843ad9f0fc14ef5f0049f44bfcc76 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 24 Nov 2018 17:44:56 +0100 Subject: [PATCH] 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 --- doc/requirements.txt | 2 +- setup.cfg | 19 +++++++++++++++++++ tox.ini | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 setup.cfg diff --git a/doc/requirements.txt b/doc/requirements.txt index 6912fc36..6c1d0aa3 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -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 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..8107b61c --- /dev/null +++ b/setup.cfg @@ -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] diff --git a/tox.ini b/tox.ini index 721ad3f4..f189fa77 100644 --- a/tox.ini +++ b/tox.ini @@ -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