diff --git a/doc/source/conf.py b/doc/source/conf.py index c2b9148f84..63c36524db 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -29,6 +29,8 @@ import subprocess import sys import warnings +import openstackdocstheme + # NOTE(dstanek): adds _ to the builtins so keystone modules can be imported __builtins__['_'] = str @@ -135,8 +137,8 @@ man_pages = [ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -# html_theme_path = ["."] -# html_theme = '_theme' +html_theme_path = [openstackdocstheme.get_html_theme_path()] +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 014106f828..7d4b7f05da 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -32,6 +32,7 @@ testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT # For documentation +openstackdocstheme>=1.5.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0 reno!=2.3.1,>=1.8.0 # Apache-2.0