From 75e7bd530d31c7b8c8544952534122db5bf53c61 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Tue, 17 Sep 2019 11:50:41 +0100 Subject: 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 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tox.ini') 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 -- cgit v1.2.3