From 7733a2af6f1f6eb2d6dcce3fb8951e2d28addde1 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 4 Mar 2017 12:12:17 +0100 Subject: [PATCH] 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 --- .../{quota-udpate-resp.json => quota-update-resp.json} | 0 tox.ini | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) rename api-ref/source/samples/{quota-udpate-resp.json => quota-update-resp.json} (100%) diff --git a/api-ref/source/samples/quota-udpate-resp.json b/api-ref/source/samples/quota-update-resp.json similarity index 100% rename from api-ref/source/samples/quota-udpate-resp.json rename to api-ref/source/samples/quota-update-resp.json diff --git a/tox.ini b/tox.ini index 226b1be2c8..7c538df073 100644 --- a/tox.ini +++ b/tox.ini @@ -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