diff --git a/doc/source/conf.py b/doc/source/conf.py index a7a4675..59e44d1 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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'), ] diff --git a/tox.ini b/tox.ini index a06da23..9945a31 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =