Browse Source

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
Andreas Jaeger 4 months ago
parent
commit
594827f115
3 changed files with 21 additions and 2 deletions
  1. 1
    1
      doc/requirements.txt
  2. 19
    0
      setup.cfg
  3. 1
    1
      tox.ini

+ 1
- 1
doc/requirements.txt View File

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

+ 19
- 0
setup.cfg View File

@@ -0,0 +1,19 @@
1
+[metadata]
2
+name = operations-guide
3
+summary = OpenStack Operations Guide
4
+author = OpenStack
5
+author-email = openstack-discuss@lists.openstack.org
6
+home-page = http://docs.openstack.org/operations-guide
7
+classifier =
8
+    Environment :: OpenStack
9
+    Intended Audience :: Information Technology
10
+    Intended Audience :: System Administrators
11
+    License :: OSI Approved :: Apache Software License
12
+    Operating System :: POSIX :: Linux
13
+    Topic :: Documentation
14
+
15
+[global]
16
+setup-hooks =
17
+    pbr.hooks.setup_hook
18
+
19
+[files]

+ 1
- 1
tox.ini View File

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

Loading…
Cancel
Save