diff --git a/.zuul.yaml b/.zuul.yaml index 657f715..825bc14 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,10 +1,6 @@ - project: - check: - jobs: - - build-sphinx-docs - gate: - jobs: - - build-sphinx-docs + templates: + - build-tox-docs post: jobs: - publish-zuul-docs diff --git a/tox.ini b/tox.ini index ac89a7f..b5d830c 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,9 @@ deps = bindep commands = bindep test [testenv:docs] -commands = python setup.py build_sphinx +commands = + sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html + [testenv:pep8] whitelist_externals = bash