Fix sphinx invocation

We use now "tox -e docs" and the sphinx-build invocation was using the
wrong directory - fix it.

Also, add doctrees option.

Change-Id: I527a08565cdc876dc862f1a944de06eddb7c33c9
This commit is contained in:
Andreas Jaeger 2018-12-06 08:36:43 +01:00
parent 37fd4b3a18
commit 6efa693f2a
1 changed files with 1 additions and 1 deletions

View File

@ -19,4 +19,4 @@ commands = {posargs}
[testenv:docs]
commands =
doc8 -e .rst specs/ doc/ README.rst
sphinx-build -W -b html doc/source doc/build
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html