PDF documentation build
Change-Id: I1e79fda924fc52680c66a76e899c910d6cfacc24 Implements: blueprint pdfdocs
This commit is contained in:
@@ -62,3 +62,25 @@ html_theme = 'openstackdocs'
|
|||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'zunclientdoc'
|
htmlhelp_basename = 'zunclientdoc'
|
||||||
|
|
||||||
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
|
# (source start file, target name, title, author, documentclass
|
||||||
|
# [howto/manual]).
|
||||||
|
latex_documents = [
|
||||||
|
('index',
|
||||||
|
'doc-python-zunclient.tex',
|
||||||
|
u'Python Zun Client Documentation',
|
||||||
|
u'Zun development team', '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}{3}',
|
||||||
|
'extraclassoptions': 'openany',
|
||||||
|
}
|
||||||
|
@@ -7,12 +7,13 @@ Contents
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
readme
|
|
||||||
install/index
|
install/index
|
||||||
contributor/index
|
contributor/index
|
||||||
cli/index
|
cli/index
|
||||||
user/index
|
user/index
|
||||||
|
|
||||||
|
.. only:: html
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
============
|
|
||||||
Introduction
|
|
||||||
============
|
|
||||||
|
|
||||||
.. include:: ../../README.rst
|
|
10
tox.ini
10
tox.ini
@@ -53,6 +53,16 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
sphinx-build -W -b html doc/source doc/build/html
|
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:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
|
Reference in New Issue
Block a user