summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/requirements.txt1
-rw-r--r--doc/source/conf.py9
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 7eddd78..f27bdd1 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -6,4 +6,3 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
6sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0 6sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0
7sphinxcontrib-seqdiag>=0.8.4 # BSD 7sphinxcontrib-seqdiag>=0.8.4 # BSD
8openstackdocstheme>=1.18.1 # Apache-2.0 8openstackdocstheme>=1.18.1 # Apache-2.0
9oslosphinx>=4.7.0 # Apache-2.0
diff --git a/doc/source/conf.py b/doc/source/conf.py
index b02a3f7..6527db8 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -22,10 +22,13 @@ sys.path.insert(0, os.path.abspath('../..'))
22# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 22# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
23extensions = [ 23extensions = [
24 'sphinx.ext.autodoc', 24 'sphinx.ext.autodoc',
25 #'sphinx.ext.intersphinx', 25 'openstackdocstheme'
26 'oslosphinx'
27] 26]
28 27
28# openstackdocstheme options
29repository_name = 'openstack/networking-generic-switch'
30use_storyboard = True
31
29# autodoc generation is a bit aggressive and a nuisance when doing heavy 32# autodoc generation is a bit aggressive and a nuisance when doing heavy
30# text edit cycles. 33# text edit cycles.
31# execute "export SPHINX_DEBUG=1" in your terminal to disable 34# execute "export SPHINX_DEBUG=1" in your terminal to disable
@@ -55,8 +58,8 @@ pygments_style = 'sphinx'
55# The theme to use for HTML and HTML Help pages. Major themes that come with 58# The theme to use for HTML and HTML Help pages. Major themes that come with
56# Sphinx are currently 'default' and 'sphinxdoc'. 59# Sphinx are currently 'default' and 'sphinxdoc'.
57# html_theme_path = ["."] 60# html_theme_path = ["."]
58# html_theme = '_theme'
59# html_static_path = ['static'] 61# html_static_path = ['static']
62html_theme = 'openstackdocs'
60 63
61# Output file base name for HTML help builder. 64# Output file base name for HTML help builder.
62htmlhelp_basename = '%sdoc' % project 65htmlhelp_basename = '%sdoc' % project