diff --git a/doc/source/conf.py b/doc/source/conf.py index 9740fbb..97d60c8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -12,6 +12,7 @@ import datetime import sys import os +import openstackdocstheme from jinja2.utils import Markup @@ -29,9 +30,7 @@ from jinja2.utils import Markup # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', - 'sphinx.ext.viewcode', - 'oslosphinx' - ] + 'sphinx.ext.viewcode', ] todo_include_todos = True @@ -95,7 +94,7 @@ man_pages = [] # The theme to use for HTML and HTML Help pages. See the documentation for # 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 # further. For a list of options available for each theme, see the @@ -103,7 +102,7 @@ html_theme = 'nature' #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 # " v documentation". diff --git a/requirements.txt b/requirements.txt index c35a7dc..464506b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD -oslosphinx>=2.5.0,!=3.4.0 # Apache-2.0 +openstackdocstheme>=1.5.0 # Apache-2.0 pbr>=1.6 # Apache-2.0