PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build PDF versions of our docs. As per the Train community goal: https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html Story: 2006122 Task: 35514 Change-Id: I7e0ee410ac603774e4b03f859ac3aa20e5afc9b8
This commit is contained in:
parent
a0f0aedb41
commit
14095c109f
@ -181,7 +181,7 @@ htmlhelp_basename = 'SwiftClientwebdoc'
|
|||||||
# 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, documentclass [howto/manual])
|
# (source start file, target name, title, author, documentclass [howto/manual])
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'SwiftClient.tex', u'SwiftClient Documentation',
|
('index', 'doc-python-swiftclient.tex', u'SwiftClient Documentation',
|
||||||
u'OpenStack, LLC.', 'manual'),
|
u'OpenStack, LLC.', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -201,3 +201,5 @@ latex_documents = [
|
|||||||
|
|
||||||
# If false, no module index is generated.
|
# If false, no module index is generated.
|
||||||
# latex_use_modindex = True
|
# latex_use_modindex = True
|
||||||
|
|
||||||
|
latex_use_xindy = False
|
||||||
|
9
tox.ini
9
tox.ini
@ -109,3 +109,12 @@ deps =
|
|||||||
-c{toxinidir}/lower-constraints.txt
|
-c{toxinidir}/lower-constraints.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
.[keystone]
|
.[keystone]
|
||||||
|
|
||||||
|
[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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user