PDF documentation build

The document is simple enough, so 'howto' is specified as
documentclass instead of 'manual' as most projects do.

Change-Id: Ic6d9e893afc9853fe054756eba34767677510cfe
Story: 2006099
Task: 35130
This commit is contained in:
Akihiro Motoki 2019-08-27 17:35:05 +09:00 committed by Vishal Manchanda
parent f722df5b03
commit a9766d4faa
2 changed files with 17 additions and 0 deletions

View File

@ -217,3 +217,11 @@ html_static_path = []
# Output file base name for HTML help builder.
htmlhelp_basename = 'neutronfwaasdashboarddoc'
# -- Options for LaTeX output ------------------------------------------------
latex_documents = [
('index', 'doc-neutron-fwaas-dashboard.tex',
u'Neutron FWaaS Dashboard Documentation',
u'Neutron Contributors', 'howto'),
]

View File

@ -48,6 +48,15 @@ commands =
basepython = python3
commands = python setup.py build_sphinx
[testenv:pdf-docs]
basepython = python3
envdir = {toxworkdir}/docs
whitelist_externals =
make
commands =
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