diff --git a/doc/source/conf.py b/doc/source/conf.py index e31a99440..b73eca8f1 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -32,7 +32,7 @@ sys.path.insert(0, os.path.abspath('./')) # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'oslo_config.sphinxconfiggen', - 'oslosphinx', + 'openstackdocstheme', 'sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinxcontrib.httpdomain', @@ -117,12 +117,20 @@ man_pages = [ # Sphinx are currently 'default' and 'sphinxdoc'. # html_theme_path = ["."] # html_theme = '_theme' +html_theme = 'openstackdocs' # html_static_path = ['static'] -html_theme_options = {'incubating': True} +# html_theme_options = {} # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project +html_last_updated_fmt = '%Y-%m-%d %H:%M' + +#openstackdocstheme options +repository_name = 'openstack/watcher' +bug_project = 'watcher' +bug_tag = '' + # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]). diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index eb4095265..8b36a7864 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -38,7 +38,7 @@ from watcher import version as watcher_version # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['reno.sphinxext', - 'oslosphinx'] + 'openstackdocstheme'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -104,7 +104,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 diff --git a/test-requirements.txt b/test-requirements.txt index e788bc616..84a7d8903 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16,7 +16,6 @@ testtools>=1.4.0 # MIT # Doc requirements openstackdocstheme>=1.11.0 # Apache-2.0 -oslosphinx>=4.7.0 # Apache-2.0 sphinx>=1.6.2 # BSD sphinxcontrib-pecanwsme>=0.8 # Apache-2.0