summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-05-18 18:19:47 +0200
committerAndreas Jaeger <aj@suse.com>2020-05-18 18:19:47 +0200
commit45bad61b809c046f8616d1c64b10a173732c84d5 (patch)
treee6016e3d311e2feaa2c31945a2d1becb03cd65ee
parent553040ed4b27a36f0557595dcf33abe5739f9517 (diff)
downloadpython-novaclient-45bad61b809c046f8616d1c64b10a173732c84d5.tar.gz
Add link to PDF document
Switch to openstackdocstheme 2.2.0 that can link to PDF document, enable this with setting openstackdocs_pdf_link. Depends-On: https://review.opendev.org/728938 Change-Id: I103a90d4fa101fd261b2b1a86d0a42b9591accc9
-rw-r--r--doc/requirements.txt2
-rw-r--r--doc/source/conf.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index d1818034..b5cc23e6 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
sphinx>=2.0.0,!=2.1.0 # BSD
-openstackdocstheme>=2.1.2 # Apache-2.0
+openstackdocstheme>=2.2.0 # Apache-2.0
reno>=3.1.0 # Apache-2.0
sphinxcontrib-apidoc>=0.2.0 # BSD
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 1be9ec51..0552ccca 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -69,6 +69,7 @@ latex_elements = {
openstackdocs_repo_name = 'openstack/python-novaclient'
openstackdocs_bug_project = 'python-novaclient'
openstackdocs_bug_tag = ''
+openstackdocs_pdf_link = True
openstackdocs_projects = [
'keystoneauth',
'nova',