Merge "add whereto for testing redirect rules"

This commit is contained in:
Zuul
2018-01-25 06:48:57 +00:00
committed by Gerrit Code Review
3 changed files with 77 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ basepython = python2.7
commands =
rm -rf doc/source/api doc/build api-guide/build api-ref/build placement-api-ref/build
python setup.py build_sphinx
# Test the redirects
whereto doc/build/html/.htaccess doc/test/redirect-tests.txt
# Check that all JSON files don't have \r\n in line.
bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
# Check that all included JSON files are valid JSON