Fix tox -e docs build

The docs target in tox was failing because it was still using
oslosphinx.  This patch replaces it with openstackdocstheme.

Change-Id: I4b6a93a306441f25d333889eaab3e9bbab3974c6
Story: 2005767
Task: 33481
This commit is contained in:
Douglas Mendizábal
2019-05-23 11:02:04 -05:00
parent 6560d5b0f3
commit a978514892
2 changed files with 6 additions and 11 deletions

View File

@@ -15,8 +15,6 @@ import datetime
import os
import sys
import sphinx_rtd_theme
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -32,7 +30,7 @@ import sphinx_rtd_theme
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'oslosphinx',
'openstackdocstheme',
'yasfb',
]
@@ -104,8 +102,7 @@ man_pages = []
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# html_theme = 'nature'
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = "openstackdocs"
# Theme options are theme-specific and customize the look and feel of a theme

View File

@@ -1,7 +1,5 @@
oslosphinx>=2.2.0.0a2
pbr>=0.6,!=0.7,<1.0
sphinx>=1.1.2,<1.2
sphinx_rtd_theme
testrepository>=0.0.18
openstackdocstheme
sphinx>=2.0.0
stestr>2.0.0 # Apache-2.0
testtools>=0.9.34
yasfb>=0.5.1
yasfb>=0.8.0