[placement] Make placement_api_docs.py failing
If there is no api reference for some placement API method tox -e placement-api-ref will fail now. Change-Id: Ifefedcd51f1f8d5e741ef6d02b7a0879a185e05f
This commit is contained in:
committed by
Vladyslav Drok
parent
d0af9820e1
commit
fa5749727f
@@ -145,10 +145,7 @@ commands =
|
||||
# the Placement API Ref to developer.openstack.org.
|
||||
commands =
|
||||
# Check that all placement api routes are in the documentation
|
||||
# TODO(cdent): Get rid of the leading '-' after all the existing
|
||||
# routes have been documented. It causes the non-zero exit code to
|
||||
# ignored.
|
||||
- python tools/placement_api_docs.py placement-api-ref/source/
|
||||
python tools/placement_api_docs.py placement-api-ref/source/
|
||||
rm -rf placement-api-ref/build
|
||||
sphinx-build -W -b html -d placement-api-ref/build/doctrees placement-api-ref/source placement-api-ref/build/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user