summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2018-09-24 15:10:28 +0100
committerStephen Finucane <sfinucan@redhat.com>2018-09-24 15:18:06 +0100
commitfd9670bd41c879ad0dbad5c6aebed429f76e6923 (patch)
tree8274173fbffd84568d3232a259211d2c42b975c7 /tox.ini
parent9d8eda8b824d2cd106e4bb75dae6dcd4399ca343 (diff)
downloadpython-novaclient-fd9670bd41c879ad0dbad5c6aebed429f76e6923.tar.gz
docs: Add redirects
These were missed for some reason. Let's add them now. While we're here, we add the '-d DOCTREE_DIR' argument to our 'sphinx-build' call to handle Sphinx 1.8's change in behavior for where doctrees are output. Change-Id: I5c862a74f92a44bf5248f858e26826eef76c11f0 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a6eaefbd..50896682 100644
--- a/tox.ini
+++ b/tox.ini
@@ -46,7 +46,9 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
- 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:releasenotes]
basepython = python3