Add tox env for PDF building
This is needed for change Ib2ca58105bfd1aad9508650e867a7e06892be719 to test and upload to docs-draft PDF files. Change-Id: I3b58c7535d9a16e87c4b71958f748df208bf01f0
This commit is contained in:
parent
c8b56a0a7b
commit
f9e4bfed1f
14
tox.ini
14
tox.ini
|
@ -35,6 +35,20 @@ commands =
|
|||
rm -rf api-ref/build
|
||||
sphinx-build -a -E -W -d api-ref/build/doctrees -b html api-ref/source api-ref/build/html
|
||||
|
||||
|
||||
[testenv:checkbuild]
|
||||
# Only build PDF and push it to publish-docs folder so that OpenStack
|
||||
# CI jobs will publish it.
|
||||
whitelist_externals =
|
||||
make
|
||||
cp
|
||||
mkdir
|
||||
commands =
|
||||
sphinx-build -a -E -W -d doc/build/doctrees -b latex doc/source doc/build/pdf
|
||||
make -C doc/build/pdf
|
||||
mkdir publish-docs
|
||||
cp doc/build/pdf/os-doc-demo.pdf publish-docs
|
||||
|
||||
[testenv:bindep]
|
||||
# Do not install any requirements. We want this to be fast and work even if
|
||||
# system dependencies are missing, since it's used to tell you what system
|
||||
|
|
Loading…
Reference in New Issue