Merge "Build pdf docs"

This commit is contained in:
Zuul 2019-09-24 15:02:24 +00:00 committed by Gerrit Code Review
commit fcd1be5427
2 changed files with 10 additions and 1 deletions

View File

@ -72,7 +72,7 @@ htmlhelp_basename = '%sdoc' % project
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
'doc-%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack Developers', 'manual'),
]

View File

@ -44,6 +44,15 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[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:releasenotes]
deps = {[testenv:docs]deps}
commands =