summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorKaifeng Wang <kaifeng.w@gmail.com>2019-06-18 11:09:03 +0800
committerKaifeng Wang <kaifeng.w@gmail.com>2019-09-05 18:43:33 +0800
commit2e25b23539b882ad10074242e924208d65d95b97 (patch)
tree67df545f643abd9c56268e004f00be4e543f16db /tox.ini
parentbbaa4599d926b8593e8752f77d1b36a9257de82b (diff)
downloadpython-ironicclient-3.0.0.tar.gz
Build pdf doc3.0.0
The is one of community goals that each project could 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: I60e1e1b02ced34a7236fca4552ecf2f983cdb9d4
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 6684dcb..4b00eb0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -74,6 +74,14 @@ deps =
commands =
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
+
[flake8]
ignore =
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools