summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorAlexandra Settle <asettle@suse.com>2019-09-26 11:33:52 +0100
committerAndreas Jaeger <aj@suse.com>2019-10-01 19:16:06 +0200
commit00d70e6e6083c61edf99e6d7145291f24011b80a (patch)
treedc5dc9aa04efeab82919b562d5e445d3d1459030 /doc/source/conf.py
parent0863f04a2673cb92934a509ca689a9b06441286a (diff)
downloadpython-barbicanclient-00d70e6e6083c61edf99e6d7145291f24011b80a.tar.gz
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 Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt to convert our SVGs. Update docs requirement as well to follow PTI. Change-Id: I0b866b2e57557290533ee7e7e162e56c9c17cf54 Story: 2006072
Diffstat (limited to 'doc/source/conf.py')
-rwxr-xr-xdoc/source/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index b056e5c..0547331 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -23,6 +23,7 @@ extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'openstackdocstheme',
+ 'sphinxcontrib.rsvgconverter',
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -67,11 +68,13 @@ htmlhelp_basename = 'python-barbicanclientdoc'
# [howto/manual]).
latex_documents = [
('index',
- 'python-barbicanclient.tex',
+ 'doc-python-barbicanclient.tex',
u'python-barbicanclient Documentation',
u'OpenStack Foundation', 'manual'),
]
+latex_use_xindy = False
+
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}