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:
parent
d87852ae6a
commit
a434b507fd
2
tox.ini
2
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}
|
||||
|
Loading…
Reference in New Issue
Block a user