Inherit openstackdocstheme

The SIGs governance website was using an old oslosphinx-based
theme. Inherit from openstackdocstheme instead, in the same way
as the TC site.

Change-Id: I2b5940eae121f0c73fc2e5a6758f5ad106c0d33c
This commit is contained in:
Thierry Carrez 2018-10-02 11:46:08 +02:00
parent 19c0d22dec
commit 67c91ef194
4 changed files with 20 additions and 7 deletions

View File

@ -0,0 +1,8 @@
<button href="#" type="button" data-toggle="dropdown" class="btn docs-sidebar-release-select">OpenStack Governance<i class="fa fa-caret-down"></i></button>
<ul class="dropdown-menu docs-sidebar-dropdown" role="menu" aria-labelledby="dLabel">
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://wiki.openstack.org/wiki/Governance/Foundation">Board of Directors</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/tc/">Technical Committee</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/uc/">User Committee</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/sigs/">SIGs</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/election/">Elections</a></li>
</ul>

View File

@ -0,0 +1,2 @@
[theme]
inherit = openstackdocs

View File

@ -31,7 +31,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',
'sigtable',
]
@ -99,19 +99,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
# "<project> v<release> documentation".
#html_title = None
html_title = 'OpenStack SIGs Governance'
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None

View File

@ -3,5 +3,5 @@
# process, which may cause wedges in the gate later.
# needed for doc build
docutils>=0.11,!=0.13.1 # OSI-Approved Open Source, Public Domain
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
sphinx>-1.5.0 # BSD
openstackdocstheme>=1.25.1 # Apache-2.0