summaryrefslogtreecommitdiff
path: root/releasenotes/source/conf.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-05-31 20:34:11 +0200
committerAndreas Jaeger <aj@suse.com>2020-05-31 20:37:45 +0200
commit82a708b09f944708a770e8c5ffae5ea98848ed46 (patch)
treed462cf2f11eaecc80c0b109ba119b181acdd1ade /releasenotes/source/conf.py
parentaa10eb7bcbb96d78ac923735db0753472ee059a3 (diff)
downloados-client-config-82a708b09f944708a770e8c5ffae5ea98848ed46.tar.gz
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 * Fix some rendering problems Update Sphinx version as well. Disable openstackdocs_auto_name to use 'project' variable as name. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. 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. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I9b21866eee164c1c14d0e4333e842bd6fefcb820
Diffstat (limited to 'releasenotes/source/conf.py')
-rw-r--r--releasenotes/source/conf.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 776088d..7ead119 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -21,13 +21,13 @@
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
-import openstackdocstheme
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'reno.sphinxext',
+ 'openstackdocstheme'
]
# Add any paths that contain templates here, relative to this directory.
@@ -46,6 +46,11 @@ master_doc = 'index'
project = u'os-client-config Release Notes'
copyright = u'2015, os-client-config developers'
+# openstackdocstheme options
+openstackdocs_repo_name = 'openstack/os-client-config'
+openstackdocs_auto_name = False
+openstackdocs_use_storyboard = True
+
# Release notes do not need a version in the title, they span
# multiple versions.
# The short X.Y version.
@@ -83,7 +88,7 @@ exclude_patterns = []
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'native'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
@@ -103,10 +108,6 @@ html_theme = 'openstackdocs'
# documentation.
#html_theme_options = {}
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-html_theme_path = [openstackdocstheme.get_html_theme_path()]
-
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None