summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-09-19 08:44:47 +0000
committerGerrit Code Review <review@openstack.org>2019-09-19 08:44:47 +0000
commita1dfaff2e6fe614cb3be5b550d3902a3255a88e8 (patch)
tree65615b14a7cc9e245774ea229f59c0fed4ca6fc3 /doc
parent03030871b224d92a690f9b29e7d289a337c0140f (diff)
parent75e7bd530d31c7b8c8544952534122db5bf53c61 (diff)
downloadkolla-a1dfaff2e6fe614cb3be5b550d3902a3255a88e8.tar.gz
kolla-a1dfaff2e6fe614cb3be5b550d3902a3255a88e8.zip
Merge "Build pdf doc"
Diffstat (limited to 'doc')
-rw-r--r--doc/requirements.txt1
-rw-r--r--doc/source/conf.py6
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 9f2147d3d..ce8957d82 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -6,3 +6,4 @@ openstackdocstheme>=1.19.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
+sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 862ab85e9..cd5045caf 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -23,6 +23,7 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'openstackdocstheme',
'sphinx.ext.autodoc',
+ 'sphinxcontrib.rsvgconverter',
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -79,11 +80,14 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M'
# [howto/manual]).
latex_documents = [
('index',
- '%s.tex' % project,
+ 'doc-%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack Foundation', 'manual'),
]
+# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664
+latex_use_xindy = False
+
# openstackdocstheme options
repository_name = 'openstack/kolla'
bug_project = 'kolla'