Add link to PDF document

Switch to openstackdocstheme 2.2.0 that can link to PDF document,
enable this with setting openstackdocs_pdf_link.

Note that the link to the published document only works on 
docs.openstack.org where the PDF file is placed in the top-level html
directory. The site-preview places the PDF in a pdf directory.

Depends-On: https://review.opendev.org/728938
Change-Id: I29dddfa06183ecadb8f23feb2ad2e3c1c5a233cc
This commit is contained in:
Andreas Jaeger 2020-05-18 18:12:27 +02:00 committed by Andreas Jaeger
parent 3b4fa6108f
commit 2eb2752988
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ sphinxcontrib-seqdiag>=0.8.4 # BSD
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
sphinx-feature-classification>=0.2.0 # Apache-2.0
os-api-ref>=1.4.0 # Apache-2.0
openstackdocstheme>=2.1.2 # Apache-2.0
openstackdocstheme>=2.2.0 # Apache-2.0
# releasenotes
reno>=3.1.0 # Apache-2.0

View File

@ -142,6 +142,7 @@ latex_use_xindy = False
openstackdocs_repo_name = 'openstack/nova'
openstackdocs_bug_project = 'nova'
openstackdocs_bug_tag = 'doc'
openstackdocs_pdf_link = True
# keep this ordered to keep mriedem happy
#