aboutsummaryrefslogtreecommitdiff
path: root/releasenotes/source
diff options
context:
space:
mode:
authorjacky06 <zhang.min@99cloud.net>2020-05-21 00:06:55 +0800
committerAndreas Jaeger <aj@suse.com>2020-06-06 15:24:31 +0200
commit47b51081a5eadaa6cd91afc02e1f1345acaa7465 (patch)
tree2b1ff34c8e1768cdb2bf5383af752fa27e00ac99 /releasenotes/source
parent1ebb97c9f266e9be222d53d423031c75b2eb3ea4 (diff)
downloadkolla-47b51081a5eadaa6cd91afc02e1f1345acaa7465.tar.gz
kolla-47b51081a5eadaa6cd91afc02e1f1345acaa7465.zip
Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents Update Sphinx version as well. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. Set openstackdocs_pdf_link to link to PDF file. 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. Set openstackdocs_auto_name to use 'project' as name. Change-Id: I138d51ace230a434e76fbe9fbbe97e53212230f3
Diffstat (limited to 'releasenotes/source')
-rw-r--r--releasenotes/source/conf.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 12dd70547..86705c7f5 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -111,9 +111,6 @@ html_theme = 'openstackdocs'
# "<project> v<release> documentation".
# html_title = None
-# Must set this variable to include year, month, day, hours, and minutes.
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None
@@ -252,6 +249,7 @@ texinfo_documents = [
locale_dirs = ['locale/']
# openstackdocstheme options
-repository_name = 'openstack/kolla'
-bug_project = 'kolla'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/kolla'
+openstackdocs_bug_project = 'kolla'
+openstackdocs_bug_tag = ''
+openstackdocs_auto_name = False