diff options
author | Kaifeng Wang <kaifeng.w@gmail.com> | 2019-09-06 11:57:18 +0800 |
---|---|---|
committer | Kaifeng Wang <kaifeng.w@gmail.com> | 2019-09-06 14:50:02 +0800 |
commit | 9aab525d4546931f81bed665261278e7fc5bbeb4 (patch) | |
tree | 5137b46374c54089cf3a3dbebaa3615c762557e6 /tox.ini | |
parent | 1f68fb9073d79f2471d2aa83a902b3e01cec6a90 (diff) | |
download | ironic-9aab525d4546931f81bed665261278e7fc5bbeb4.tar.gz |
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: Icf1e4b58675b23e82ee6f6d79eb8852436ed55bb
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -88,6 +88,15 @@ deps = -r{toxinidir}/driver-requirements.txt commands = sphinx-build -b html -W 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:api-ref] basepython = python3 deps = |