Cleanup api-ref
Remove useage of old os-api-ref version and replace with current version. Follow other repositories and merge v1 and v2 in a single document. Note that we need to have a single document so that preview of the document works properly in our CI. Change-Id: I82c8b9ca317298b3dc1f7133ce8c0e9b3503730d
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -37,8 +37,7 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands =
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W -b html -d api-ref/build/v1/doctrees api-ref/v1/source api-ref/build/html/v1/
|
||||
sphinx-build -W -b html -d api-ref/build/v2/doctrees api-ref/v2/source api-ref/build/html/v2/
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
|
||||
|
||||
[testenv:releasenotes]
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
@@ -100,8 +99,7 @@ commands = {posargs}
|
||||
commands =
|
||||
python setup.py build_sphinx
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W -b html -d api-ref/build/v1/doctrees api-ref/v1/source api-ref/build/html/v1/
|
||||
sphinx-build -W -b html -d api-ref/build/v2/doctrees api-ref/v2/source api-ref/build/html/v2/
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
|
||||
|
||||
[testenv:gendriverlist]
|
||||
sitepackages = False
|
||||
|
||||
Reference in New Issue
Block a user