diff --git a/doc/source/conf.py b/doc/source/conf.py index cbfcc090f1..f11d96a889 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -27,6 +27,8 @@ import os import subprocess import warnings +import openstackdocstheme + # Build the plugin registry def build_plugin_registry(app): root_dir = os.path.dirname( @@ -117,7 +119,7 @@ modindex_common_prefix = ['tempest.'] # 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 @@ -125,7 +127,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/doc/source/index.rst b/doc/source/index.rst index 1264eccc95..c4affd2ac1 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -2,18 +2,16 @@ Tempest Testing Project ======================= --------- Overview --------- +======== .. toctree:: :maxdepth: 2 overview ------------- Field Guides ------------- +============ Tempest contains tests of many different types, the field guides attempt to explain these in a way that makes it easy to understand where your test contributions should go. @@ -26,11 +24,9 @@ where your test contributions should go. field_guide/scenario field_guide/unit_tests -========= For users ========= ---------------------------- Tempest Configuration Guide --------------------------- @@ -40,7 +36,6 @@ Tempest Configuration Guide configuration sampleconf ---------------------- Command Documentation --------------------- @@ -53,11 +48,9 @@ Command Documentation workspace run -============== For developers ============== ------------ Development ----------- @@ -70,7 +63,6 @@ Development test_removal write_tests -------- Plugins ------- @@ -80,7 +72,6 @@ Plugins plugin plugin-registry -------- Library ------- @@ -89,7 +80,6 @@ Library library -================== Indices and tables ================== diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 97e3a4d97f..d240467e83 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -111,7 +111,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 @@ -119,7 +119,9 @@ html_theme = 'default' # html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -# html_theme_path = [] +import openstackdocstheme + +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/releasenotes/source/index.rst b/releasenotes/source/index.rst index adec7a71c2..d2be814350 100644 --- a/releasenotes/source/index.rst +++ b/releasenotes/source/index.rst @@ -1,5 +1,5 @@ =========================== - tempest Release Notes + Tempest Release Notes =========================== .. toctree:: diff --git a/test-requirements.txt b/test-requirements.txt index 13950bdf14..beb456d58f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,3 +10,4 @@ mock>=2.0 # BSD coverage>=4.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 flake8-import-order==0.11 # LGPLv3 +openstackdocstheme>=1.5.0 # Apache-2.0