Fix api-ref with Sphinx 1.5

Sphinx complaints about a missing file, fix this with renaming the file
to the intented name.

Treat sphinx warnings as errors to avoid these kind of problems. Remove
the not needed note anymore, this works fine as is.

Change-Id: I3849f788bdea822bf73bb334bf8d230e723e6c5b
This commit is contained in:
Andreas Jaeger 2017-03-04 12:12:17 +01:00
parent 396439f703
commit 7733a2af6f
2 changed files with 1 additions and 4 deletions

View File

@ -152,10 +152,7 @@ commands =
[testenv:install-guide]
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
# we do not used -W here because we are doing some slightly tricky
# things to build a single page document, and as such, we are ok
# ignoring the duplicate stanzas warning.
[testenv:api-ref]
commands =
rm -rf api-ref/build
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html