Using the latest openstackdocstheme settings

Change-Id: If922a2455bd4f6a8fd9fa81d3f9dfaccb8cf845a
This commit is contained in:
zhurong 2017-07-04 09:39:48 +08:00
parent 08411aa8d2
commit db490d17a5
2 changed files with 21 additions and 7 deletions

View File

@ -13,15 +13,14 @@
import os
import openstackdocstheme
project = 'python-muranoclient'
# -- General configuration ----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc']
extensions = ['sphinx.ext.autodoc',
'openstackdocstheme',]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
@ -58,7 +57,15 @@ html_theme = 'openstackdocs'
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = ['_theme']
html_theme_path = [openstackdocstheme.get_html_theme_path()]
#html_theme_path = [openstackdocstheme.get_html_theme_path()]
# openstackdocstheme options
repository_name = 'openstack/python-muranoclient'
bug_project = 'python-muranoclient'
bug_tag = ''
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project

View File

@ -29,8 +29,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))
import openstackdocstheme
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@ -41,6 +39,7 @@ import openstackdocstheme
# ones.
extensions = [
'reno.sphinxext',
'openstackdocstheme',
]
# Add any paths that contain templates here, relative to this directory.
@ -122,7 +121,15 @@ html_theme = 'openstackdocs'
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
html_theme_path = [openstackdocstheme.get_html_theme_path()]
# html_theme_path = [openstackdocstheme.get_html_theme_path()]
# openstackdocstheme options
repository_name = 'openstack/python-muranoclient'
bug_project = 'python-muranoclient'
bug_tag = ''
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".