Browse Source

Removing obsolete oslosphinx

Removing oslosphinx from docs requirements.
If any extensions is needed for building docs we should rely on
the openstackdocstheme or directly on sphinx modules.

Change-Id: Icee64ed34026ac485746cccf52bbbc9ad2a1e6d7
Riccardo Pittau 5 days ago
parent
commit
6bfd1f80bf
2 changed files with 6 additions and 4 deletions
  1. 0
    1
      doc/requirements.txt
  2. 6
    3
      doc/source/conf.py

+ 0
- 1
doc/requirements.txt View File

@@ -6,4 +6,3 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
6 6
 sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0
7 7
 sphinxcontrib-seqdiag>=0.8.4 # BSD
8 8
 openstackdocstheme>=1.18.1 # Apache-2.0
9
-oslosphinx>=4.7.0 # Apache-2.0

+ 6
- 3
doc/source/conf.py View File

@@ -22,10 +22,13 @@ sys.path.insert(0, os.path.abspath('../..'))
22 22
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
23 23
 extensions = [
24 24
     'sphinx.ext.autodoc',
25
-    #'sphinx.ext.intersphinx',
26
-    'oslosphinx'
25
+    'openstackdocstheme'
27 26
 ]
28 27
 
28
+# openstackdocstheme options
29
+repository_name = 'openstack/networking-generic-switch'
30
+use_storyboard = True
31
+
29 32
 # autodoc generation is a bit aggressive and a nuisance when doing heavy
30 33
 # text edit cycles.
31 34
 # execute "export SPHINX_DEBUG=1" in your terminal to disable
@@ -55,8 +58,8 @@ pygments_style = 'sphinx'
55 58
 # The theme to use for HTML and HTML Help pages.  Major themes that come with
56 59
 # Sphinx are currently 'default' and 'sphinxdoc'.
57 60
 # html_theme_path = ["."]
58
-# html_theme = '_theme'
59 61
 # html_static_path = ['static']
62
+html_theme = 'openstackdocs'
60 63
 
61 64
 # Output file base name for HTML help builder.
62 65
 htmlhelp_basename = '%sdoc' % project

Loading…
Cancel
Save