summaryrefslogtreecommitdiff
path: root/releasenotes/source/conf.py
diff options
context:
space:
mode:
authorlingyongxu <lyxu@fiberhome.com>2017-07-06 09:28:05 +0800
committerlingyongxu <lyxu@fiberhome.com>2017-07-06 09:28:56 +0800
commit1cb173e6a798906f6f205b1241625bb62fb6f8df (patch)
treeffca332548bbeb594372c5a627fb138756521477 /releasenotes/source/conf.py
parentdeaa0fe9c41507241c18164fb1bb431f1a297676 (diff)
downloadoslosphinx-1cb173e6a798906f6f205b1241625bb62fb6f8df.tar.gz
Switch from oslosphinx to openstackdocstheme4.15.1
As part of the docs migration work[0] for Pike we need to switch to use the openstackdocstheme. [0]https://review.openstack.org/#/c/472275/ Change-Id: Ib35eb111e766b244d03eb9b52badb54d08efb07b
Diffstat (limited to 'releasenotes/source/conf.py')
-rw-r--r--releasenotes/source/conf.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 7a65008..3f7d764 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -35,12 +35,12 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
]
# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
+#templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
@@ -109,7 +109,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -138,7 +138,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+#html_static_path = ['_static']
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
@@ -147,7 +147,7 @@ html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
-# html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
@@ -274,3 +274,8 @@ texinfo_documents = [
# -- Options for Internationalization output ------------------------------
locale_dirs = ['locale/']
+
+# -- Options for openstackdocstheme -------------------------------------------
+repository_name = 'openstack/oslosphinx'
+bug_project = 'oslosphinx'
+bug_tag = ''