diff options
author | Vishakha Agarwal <agarwalvishakha18@gmail.com> | 2019-08-30 10:37:06 +0530 |
---|---|---|
committer | Vishakha Agarwal <agarwalvishakha18@gmail.com> | 2019-09-04 11:09:34 +0530 |
commit | f27e6467e7c5cc0b072c59896c9efc281888e6f3 (patch) | |
tree | 944d0f2de95182dedcc8ee6a7e955bca6b92fb8b /tox.ini | |
parent | f7e75f43d811c8e1028746b2574322afa53dbaac (diff) | |
download | python-keystoneclient-f27e6467e7c5cc0b072c59896c9efc281888e6f3.tar.gz |
Generate pdf documentation
This patch adds a new tox job/command for building the pdf
version of documentation.
tox -epdf-docs
Change-Id: I0c0ef99190ea2a834bfdb47eb443b88a93bc802c
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -71,6 +71,18 @@ basepython = python3 commands = python setup.py build_sphinx deps = -r{toxinidir}/doc/requirements.txt +[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 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |