diff options
| author | Mark Goddard <mark@stackhpc.com> | 2019-09-17 11:50:41 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2019-09-17 14:14:18 +0100 |
| commit | ef3abc455f3b133184d26330e3a7fe82d1c521ce (patch) | |
| tree | 68b08ee5b8fb5ebe9186c98b0c4e830bb5d8e7d2 /tox.ini | |
| parent | 8722c78763efa7b9c9c0fb3c20599f1f6f0d69e5 (diff) | |
| download | kolla-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.ini | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 = |
