summaryrefslogtreecommitdiff
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:25:32 +0100
commit75e7bd530d31c7b8c8544952534122db5bf53c61 (patch)
tree19dad80f064e972c697299098ad295b3d8d65d01 /tox.ini
parent20a5957a41ac63ed0313aac8216df9fefb0ab0aa (diff)
downloadkolla-75e7bd530d31c7b8c8544952534122db5bf53c61.tar.gz
kolla-75e7bd530d31c7b8c8544952534122db5bf53c61.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 1dea5f77b..f232e52c7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -75,6 +75,14 @@ commands =
doc8 doc
sphinx-build -W -b html doc/source doc/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:build-centos-binary]
whitelist_externals = find
bash