summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/_themes/governance/sidebartoc_menu.html8
-rw-r--r--doc/source/_themes/governance/theme.conf2
-rw-r--r--doc/source/conf.py13
-rw-r--r--test-requirements.txt4
4 files changed, 20 insertions, 7 deletions
diff --git a/doc/source/_themes/governance/sidebartoc_menu.html b/doc/source/_themes/governance/sidebartoc_menu.html
new file mode 100644
index 0000000..e326a3a
--- /dev/null
+++ b/doc/source/_themes/governance/sidebartoc_menu.html
@@ -0,0 +1,8 @@
1<button href="#" type="button" data-toggle="dropdown" class="btn docs-sidebar-release-select">OpenStack Governance<i class="fa fa-caret-down"></i></button>
2 <ul class="dropdown-menu docs-sidebar-dropdown" role="menu" aria-labelledby="dLabel">
3 <li role="presentation"><a role="menuitem" tabindex="-1" href="https://wiki.openstack.org/wiki/Governance/Foundation">Board of Directors</a></li>
4 <li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/tc/">Technical Committee</a></li>
5 <li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/uc/">User Committee</a></li>
6 <li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/sigs/">SIGs</a></li>
7 <li role="presentation"><a role="menuitem" tabindex="-1" href="https://governance.openstack.org/election/">Elections</a></li>
8 </ul>
diff --git a/doc/source/_themes/governance/theme.conf b/doc/source/_themes/governance/theme.conf
new file mode 100644
index 0000000..8a7962d
--- /dev/null
+++ b/doc/source/_themes/governance/theme.conf
@@ -0,0 +1,2 @@
1[theme]
2inherit = openstackdocs
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 425c6a0..7e22039 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -31,7 +31,7 @@ sys.path.insert(0, os.path.join(os.path.abspath('.'), '_exts'))
31# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 31# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
32extensions = [ 32extensions = [
33 'sphinx.ext.extlinks', 33 'sphinx.ext.extlinks',
34 'oslosphinx', 34 'openstackdocstheme',
35] 35]
36 36
37todo_include_todos = True 37todo_include_todos = True
@@ -98,19 +98,22 @@ modindex_common_prefix = []
98 98
99# The theme to use for HTML and HTML Help pages. See the documentation for 99# The theme to use for HTML and HTML Help pages. See the documentation for
100# a list of builtin themes. 100# a list of builtin themes.
101html_theme = 'nature' 101html_theme = 'governance'
102 102
103# Theme options are theme-specific and customize the look and feel of a theme 103# Theme options are theme-specific and customize the look and feel of a theme
104# further. For a list of options available for each theme, see the 104# further. For a list of options available for each theme, see the
105# documentation. 105# documentation.
106#html_theme_options = {} 106html_theme_options = {
107 'display_global_toc_section': False,
108 'root_title': 'OpenStack Governance'
109}
107 110
108# Add any paths that contain custom themes here, relative to this directory. 111# Add any paths that contain custom themes here, relative to this directory.
109#html_theme_path = [] 112html_theme_path = ['_themes']
110 113
111# The name for this set of Sphinx documents. If None, it defaults to 114# The name for this set of Sphinx documents. If None, it defaults to
112# "<project> v<release> documentation". 115# "<project> v<release> documentation".
113#html_title = None 116html_title = 'OpenStack Governance'
114 117
115# A shorter title for the navigation bar. Default is the same as html_title. 118# A shorter title for the navigation bar. Default is the same as html_title.
116#html_short_title = None 119#html_short_title = None
diff --git a/test-requirements.txt b/test-requirements.txt
index cfa7441..3c7c0bf 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,5 +2,5 @@
2# of appearance. Changing the order has an impact on the overall integration 2# of appearance. Changing the order has an impact on the overall integration
3# process, which may cause wedges in the gate later. 3# process, which may cause wedges in the gate later.
4# needed for doc build 4# needed for doc build
5sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD 5openstackdocstheme>=1.25.1 # Apache-2.0
6oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 6sphinx>=1.5.0 # BSD