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
This commit is contained in:
Takashi NATSUME 2018-09-20 20:39:19 +09:00
parent d87852ae6a
commit a434b507fd
1 changed files with 1 additions and 1 deletions

View File

@ -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}