Merge "Update docs theme"

This commit is contained in:
Jenkins 2017-06-20 07:13:56 +00:00 committed by Gerrit Code Review
commit 4f5c3943c6
3 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,8 @@
import sys import sys
import os import os
import openstackdocstheme
# If extensions (or modules to document with autodoc) are in another directory, # If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
@ -76,7 +78,7 @@ modindex_common_prefix = ['subunit2sql.']
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
html_theme = 'nature' html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme # 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 # further. For a list of options available for each theme, see the
@ -84,7 +86,7 @@ html_theme = 'nature'
#html_theme_options = {} #html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory. # 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 # The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation". # "<project> v<release> documentation".

View File

@ -2,7 +2,8 @@
Subunit2SQL Subunit2SQL
=========== ===========
Contents: Contents
========
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
@ -15,7 +16,7 @@ Contents:
history history
==================
Indices and tables Indices and tables
================== ==================
* :ref:`search` * :ref:`search`

View File

@ -13,3 +13,4 @@ os-testr
oslo.concurrency>=3.5.0 oslo.concurrency>=3.5.0
# releasenotes # releasenotes
reno>=0.1.1 # Apache2 reno>=0.1.1 # Apache2
openstackdocstheme>=1.5.0 # Apache-2.0