diff --git a/doc/source/conf.py b/doc/source/conf.py index 743a651..249fedb 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -53,3 +53,13 @@ html_theme = 'openstackdocs' # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. html_last_updated_fmt = '%Y-%m-%d %H:%M' + +# -- Options for LaTeX output ------------------------------------------------- + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, author, documentclass +# [howto/manual]). +latex_documents = [ + ('index', 'doc-os-traits.tex', u'os-traits Documentation', + u'OpenStack Foundation', 'manual'), +] diff --git a/tox.ini b/tox.ini index 7d6108c..e9640d9 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,15 @@ commands = rm -rf doc/build 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] basepython = python3 deps =