From fd9670bd41c879ad0dbad5c6aebed429f76e6923 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 24 Sep 2018 15:10:28 +0100 Subject: 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 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tox.ini') 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 -- cgit v1.2.1