PDF documentation build
Change-Id: I0abc5df1dfde23756bc2fd78631141ba685dc6fe Story: 2006099 Task: 35139
This commit is contained in:

committed by
Bernard Cafarelli

parent
62f4868e6e
commit
d6c78a5d39
@@ -49,6 +49,25 @@ html_theme = 'openstackdocs'
|
|||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'neutronclientdoc'
|
htmlhelp_basename = 'neutronclientdoc'
|
||||||
|
|
||||||
|
# -- Options for LaTeX output ------------------------------------------------
|
||||||
|
|
||||||
|
latex_documents = [
|
||||||
|
('index', 'doc-python-neutronclient.tex',
|
||||||
|
u'python-neutronclient Documentation',
|
||||||
|
u'Neutron Contributors', 'manual'),
|
||||||
|
]
|
||||||
|
|
||||||
|
# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664
|
||||||
|
latex_use_xindy = False
|
||||||
|
|
||||||
|
latex_domain_indices = False
|
||||||
|
|
||||||
|
latex_elements = {
|
||||||
|
'makeindex': '',
|
||||||
|
'printindex': '',
|
||||||
|
'preamble': r'\setcounter{tocdepth}{5}',
|
||||||
|
}
|
||||||
|
|
||||||
# -- Options for cliff.sphinxext plugin ---------------------------------------
|
# -- Options for cliff.sphinxext plugin ---------------------------------------
|
||||||
|
|
||||||
autoprogram_cliff_application = 'openstack'
|
autoprogram_cliff_application = 'openstack'
|
||||||
|
10
tox.ini
10
tox.ini
@@ -58,6 +58,16 @@ basepython = python3
|
|||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
|
[testenv:pdf-docs]
|
||||||
|
basepython = python3
|
||||||
|
envdir = {toxworkdir}/docs
|
||||||
|
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]
|
[testenv:releasenotes]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
|
Reference in New Issue
Block a user