aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2019-09-17 11:50:41 +0100
committerMark Goddard <mark@stackhpc.com>2019-09-17 14:14:18 +0100
commitef3abc455f3b133184d26330e3a7fe82d1c521ce (patch)
tree68b08ee5b8fb5ebe9186c98b0c4e830bb5d8e7d2 /tox.ini
parent8722c78763efa7b9c9c0fb3c20599f1f6f0d69e5 (diff)
downloadkolla-ansible-ef3abc455f3b133184d26330e3a7fe82d1c521ce.tar.gz
kolla-ansible-ef3abc455f3b133184d26330e3a7fe82d1c521ce.zip
Build pdf doc
The is one of community goals that each project should produce a single PDF file. The pdf should be in the output of openstack-tox-docs job. TeX packages are required to build PDF locally, following is recommended: * inkscape * texlive-latex-base * texlive-latex-extra * texlive-fonts-recommended More about the goal: https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html https://etherpad.openstack.org/p/train-pdf-support-goal https://etherpad.openstack.org/p/pdf-goal-train-common-problems Change-Id: Ia0f8b73bcbda6295319f5c8de1aa02a40844207b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 89a643db4..44d058460 100644
--- a/tox.ini
+++ b/tox.ini
@@ -86,6 +86,14 @@ commands =
rm -rf deploy-guide/build
sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html
+[testenv:pdf-docs]
+basepython = python3
+whitelist_externals = make
+deps = {[testenv:docs]deps}
+commands =
+ sphinx-build -W -b latex doc/source doc/build/pdf
+ make -C doc/build/pdf
+
[testenv:setupenv]
basepython = python3
commands =