From a434b507fd0e17fb9f0f38d97176c627987e5f52 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Thu, 20 Sep 2018 20:39:19 +0900 Subject: [PATCH] Fix missing specifying doctrees directory In tox.ini file, the doctrees directory is specified as an argument of sphinx-build command in api-guide, api-ref, placement-api-ref, releasenotes targets. But it is missing in docs. So add it. TrivialFix Change-Id: I74ea98b1330c1c550dae53fafc79bd6e41727296 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4465225f3d..ef12efc2fe 100644 --- a/tox.ini +++ b/tox.ini @@ -173,7 +173,7 @@ commands = bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'" # Check that all included JSON files are valid JSON bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python' - sphinx-build -W -b html doc/source doc/build/html + sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html # Test the redirects. This must run after the main docs build whereto doc/build/html/.htaccess doc/test/redirect-tests.txt {[testenv:api-guide]commands}