Merge "switch to openstackdocstheme"

This commit is contained in:
Jenkins 2017-07-11 00:33:15 +00:00 committed by Gerrit Code Review
commit c74d9e941e
3 changed files with 23 additions and 6 deletions

View File

@ -45,7 +45,8 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.coverage',
'sphinx.ext.ifconfig',
'sphinx.ext.graphviz']
'sphinx.ext.graphviz',
'openstackdocstheme']
# Add any paths that contain templates here, relative to this directory.
templates_path = []
@ -65,7 +66,7 @@ master_doc = 'index'
# General information about the project.
project = u'Dashboard'
copyright = u'2013, Mirantis, Inc'
copyright = u'OpenStack Foundation'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -128,7 +129,15 @@ man_pages = []
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme_path = ["."]
html_theme = '_theme'
html_theme = 'openstackdocs'
# openstackdocstheme options
repository_name = 'openstack/murano-dashboard'
bug_project = 'murano'
bug_tag = ''
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# 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

View File

@ -38,7 +38,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'oslosphinx',
'openstackdocstheme',
'reno.sphinxext',
]
@ -112,7 +112,15 @@ 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'
# openstackdocstheme options
repository_name = 'openstack/murano-dashboard'
bug_project = 'murano'
bug_tag = ''
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# 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

View File

@ -16,7 +16,7 @@ mock>=2.0 # BSD
mox3!=0.19.0,>=0.7.0 # Apache-2.0
# Docs Requirements
oslosphinx>=4.7.0 # Apache-2.0
openstackdocstheme>=1.11.0 # Apache-2.0
sphinx>=1.6.2 # BSD
reno!=2.3.1,>=1.8.0 # Apache-2.0