diff --git a/doc/source/_themes/governance/sidebartoc_menu.html b/doc/source/_themes/governance/sidebartoc_menu.html new file mode 100644 index 00000000..e326a3a8 --- /dev/null +++ b/doc/source/_themes/governance/sidebartoc_menu.html @@ -0,0 +1,8 @@ + + diff --git a/doc/source/_themes/governance/theme.conf b/doc/source/_themes/governance/theme.conf new file mode 100644 index 00000000..8a7962da --- /dev/null +++ b/doc/source/_themes/governance/theme.conf @@ -0,0 +1,2 @@ +[theme] +inherit = openstackdocs diff --git a/doc/source/conf.py b/doc/source/conf.py index 57d0e2eb..73adf91e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -29,7 +29,7 @@ sys.path.insert(0, os.path.join(os.path.abspath('.'), '_exts')) # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.extlinks', - 'oslosphinx', + 'openstackdocstheme', 'candidates', 'events', 'configuration', @@ -100,19 +100,22 @@ modindex_common_prefix = [] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'nature' +html_theme = 'governance' # 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 # documentation. -#html_theme_options = {} +html_theme_options = { + 'display_global_toc_section': False, + 'root_title': 'OpenStack Governance' +} # Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] +html_theme_path = ['_themes'] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". -#html_title = None +html_title = 'OpenStack Governance' # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None diff --git a/test-requirements.txt b/test-requirements.txt index 8dde356d..122289c4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. # needed for doc build sphinx>=1.6.2 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +openstackdocstheme>=1.25.1 # Apache-2.0 hacking<0.12,>=0.11.0 # Apache-2.0 yamllint mock>=2.0.0 # BSD