diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..28332ce2 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,4 @@ +Pygments +docutils +sphinx>=1.8.0,!=2.1.0 # BSD +openstackdocstheme>=1.30.0 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 81607680..6866ee92 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -36,7 +36,7 @@ def setup(app): # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [ 'oslosphinx' ] +extensions = ['openstackdocstheme'] todo_include_todos = True diff --git a/test-requirements.txt b/test-requirements.txt index 985602f9..d5d4ce60 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,2 @@ pbr>=0.6,!=0.7,<1.0 -Pygments -docutils -sphinx>=1.1.2,<1.2 -oslosphinx bashate >= 0.2 diff --git a/tox.ini b/tox.ini index fab56784..038e022a 100644 --- a/tox.ini +++ b/tox.ini @@ -20,9 +20,11 @@ commands = [testenv:docs] basepython = python3 whitelist_externals = bash +deps = -r{toxinidir}/doc/requirements.txt setenv = TOP_DIR={toxinidir} INSTALL_SHOCCO=true commands = + # TODO(efried): Use sphinx-build python setup.py build_sphinx bash tools/build_docs.sh