Fix api-ref build
With current os-api-ref and Sphinx 1.5, there were a couple of problems in building api-ref: Wrong order of entries, wrong names. Fix all so that api-ref builds again. Also, tread warnings as errors for built so that no new problems get introduced. Change-Id: I6fbae3e93632472c60f848868b55cb7206ee76a9
This commit is contained in:
parent
e2a5eddebd
commit
4a691932c4
4
tox.ini
4
tox.ini
|
@ -49,7 +49,7 @@ commands =
|
|||
rm -rf api-ref/build api-ref/html
|
||||
rm -rf doc/source/apidoc doc/source/api
|
||||
python setup.py build_sphinx
|
||||
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
whitelist_externals =
|
||||
rm
|
||||
|
||||
|
@ -57,7 +57,7 @@ whitelist_externals =
|
|||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands =
|
||||
rm -rf api-ref/build api-ref/html
|
||||
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
whitelist_externals =
|
||||
rm
|
||||
|
||||
|
|
Loading…
Reference in New Issue