PDF documentation build
Change-Id: Ic4d3fe2f5feef6e78b84831683f1826af16eec9e Story: 2006099 Task: 35132
This commit is contained in:
parent
104627a933
commit
2f08f1203b
|
@ -207,10 +207,10 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
# (source start file, target name, title, author,
|
# (source start file, target name, title, author,
|
||||||
# documentclass [howto/manual]).
|
# documentclass [howto/manual]).
|
||||||
# latex_documents = [
|
latex_documents = [
|
||||||
# ('index', 'NeutronLib.tex', u'Neutron Library Documentation',
|
('index', 'doc-neutron-lib.tex', u'Neutron Library Documentation',
|
||||||
# u'Neutron development team', 'manual'),
|
u'Neutron development team', 'manual'),
|
||||||
# ]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
# the title page.
|
# the title page.
|
||||||
|
@ -229,6 +229,13 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
||||||
# If false, no module index is generated.
|
# If false, no module index is generated.
|
||||||
#latex_use_modindex = True
|
#latex_use_modindex = True
|
||||||
|
|
||||||
|
latex_elements = {
|
||||||
|
'makeindex': '',
|
||||||
|
'printindex': '',
|
||||||
|
'preamble': r'\setcounter{tocdepth}{3}',
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# -- Options for openstackdocstheme -------------------------------------------
|
# -- Options for openstackdocstheme -------------------------------------------
|
||||||
repository_name = 'openstack/neutron-lib'
|
repository_name = 'openstack/neutron-lib'
|
||||||
bug_project = 'neutron'
|
bug_project = 'neutron'
|
||||||
|
@ -236,7 +243,7 @@ bug_tag = 'doc'
|
||||||
|
|
||||||
linkcheck_anchors_ignore = [
|
linkcheck_anchors_ignore = [
|
||||||
# skip gerrit anchors
|
# skip gerrit anchors
|
||||||
'\/q\/.*',
|
r'\/q\/.*',
|
||||||
'q\,.*',
|
r'q\,.*',
|
||||||
'\/c\/.*'
|
r'\/c\/.*'
|
||||||
]
|
]
|
||||||
|
|
|
@ -45,6 +45,8 @@ Enjoy!
|
||||||
user/index
|
user/index
|
||||||
contributor/index
|
contributor/index
|
||||||
|
|
||||||
|
.. only:: html
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
|
|
10
tox.ini
10
tox.ini
|
@ -57,6 +57,16 @@ deps =
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-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:api-ref]
|
[testenv:api-ref]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals = rm
|
whitelist_externals = rm
|
||||||
|
|
Loading…
Reference in New Issue