summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorzhurong <aaronzhu1121@gmail.com>2019-09-19 01:45:29 -0700
committerzhurong <aaronzhu1121@gmail.com>2019-09-19 01:45:29 -0700
commitf4e1b1585361fdccded59fe697d21129a3ebabaf (patch)
tree3219545ebdc9f91858e8e92e37175da16fec6abf /tox.ini
parentfd9cf6a7bd0371ebb2d4d173fbdf9896f0687034 (diff)
downloadceilometer-f4e1b1585361fdccded59fe697d21129a3ebabaf.tar.gz
PDF documentation build
Change-Id: Icf5f7f31b686d8ce97ae8cf145eaf1071860a75f
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 7552ffd5..2090c272 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,6 +52,15 @@ deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
setenv = PYTHONHASHSEED=0
+[testenv:pdf-docs]
+basepython = python3
+deps = {[testenv:docs]deps}
+whitelist_externals =
+ make
+commands =
+ sphinx-build -W -b latex doc/source doc/build/pdf
+ make -C doc/build/pdf
+
[testenv:venv]
basepython = python3
commands = {posargs}