tox: Stop linting as part of docs target
This linting makes building docs an even more painful process than it would otherwise be. We already do this as part of the pep8 target, which the gate runs, so there's no need to do this here. Change-Id: I36ae872dd21299ad5d165422cb83564eafd89bea Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -177,10 +177,6 @@ deps =
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build/html doc/build/doctrees
|
||||
# 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
|
||||
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 --keep-going -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
|
||||
|
||||
Reference in New Issue
Block a user