commit | 6f4e2a3b08b6dfbf4077fda225bc290b3960ee84 | [log] [tgz] |
---|---|---|
author | Kaifeng Wang <kaifeng.w@gmail.com> | Fri Jun 14 17:43:14 2019 +0800 |
committer | Kaifeng Wang <kaifeng.w@gmail.com> | Thu Sep 05 14:27:16 2019 +0800 |
tree | 911452dbc5692220169824fdd71357246563a472 | |
parent | 6240864d725236e38b25d01b70afec5a05e1416c [diff] [blame] |
Build pdf doc 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: I8ebbe9ea1bb2914061a8307f3edfabab166a3c38
diff --git a/tox.ini b/tox.ini index d686ee9..c81582c 100644 --- a/tox.ini +++ b/tox.ini
@@ -28,6 +28,12 @@ basepython = python3 commands = python setup.py build_sphinx +[testenv:pdf-docs] +basepython = python3 +whitelist_externals = make +commands = sphinx-build -b latex doc/source doc/build/pdf + make -C doc/build/pdf + [testenv:debug] basepython = python3 commands = oslo_debug_helper {posargs}