summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorVishakha Agarwal <agarwalvishakha18@gmail.com>2019-09-16 01:30:52 +0530
committerVishakha Agarwal <agarwalvishakha18@gmail.com>2019-09-27 17:43:03 +0000
commit381e81cfb24944ee1ebd8636af58d9bf6c35e76d (patch)
tree5690ab6b29488d84a0c599e8fec288770b980cfd /tox.ini
parentd1bd783a77e5b6ae057ba9b13833ff0584e1589b (diff)
downloadkeystonemiddleware-381e81cfb24944ee1ebd8636af58d9bf6c35e76d.tar.gz
Generate pdf documentation
Change-Id: I4bc8c036ce91795129970ab4f8c2536401c2a135
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d862926..5de16ff 100644
--- a/tox.ini
+++ b/tox.ini
@@ -64,6 +64,18 @@ commands=
doc8 doc/source
sphinx-build -W -b html doc/source doc/build/html
+[testenv:pdf-docs]
+basepython = python3
+envdir = {toxworkdir}/docs
+deps = {[testenv:docs]deps}
+whitelist_externals =
+ make
+ rm
+commands =
+ rm -rf doc/build/pdf
+ sphinx-build -W -b latex doc/source doc/build/pdf
+ make -C doc/build/pdf
+
[testenv:releasenotes]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt