fix linkcheck tox target

The current linkcheck tox target fails on a fresh neutron-lib clone
due to the /modules not existing under doc/source/reference. This patch
fixes the issue by ensuring the modules are generated before running
the linkcheck target.

Change-Id: Ie55b855c9469435b6f8ef4b3459c3082860f93c0
This commit is contained in:
Boden R 2018-01-03 09:14:45 -07:00
parent e2a9c397f7
commit 695b73a08b

View File

@ -47,6 +47,7 @@ commands =
rm -rf api-ref/build
sphinx-build -W -b linkcheck api-ref/source api-ref/build/linkcheck
rm -rf doc/build
python setup.py build_sphinx
sphinx-build -W -b linkcheck doc/source doc/build/linkcheck
[testenv:debug]