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:
parent
e2a9c397f7
commit
695b73a08b
1
tox.ini
1
tox.ini
@ -47,6 +47,7 @@ commands =
|
|||||||
rm -rf api-ref/build
|
rm -rf api-ref/build
|
||||||
sphinx-build -W -b linkcheck api-ref/source api-ref/build/linkcheck
|
sphinx-build -W -b linkcheck api-ref/source api-ref/build/linkcheck
|
||||||
rm -rf doc/build
|
rm -rf doc/build
|
||||||
|
python setup.py build_sphinx
|
||||||
sphinx-build -W -b linkcheck doc/source doc/build/linkcheck
|
sphinx-build -W -b linkcheck doc/source doc/build/linkcheck
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
|
Loading…
Reference in New Issue
Block a user