Moving WADL docs to Sahara repository

To comply with recent documentation policies
the API documentaion should be maintained within
the project source repository.

Change-Id: I0f854eea33d1a895580589e91c17c89e42b3df0a
This commit is contained in:
Nikita Konovalov 2016-05-10 11:17:25 +03:00 committed by Andreas Jaeger
parent 31e72b476a
commit c3b671f63d
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0 # BSD
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
os-api-ref>=0.1.0 # Apache-2.0
os-testr>=0.7.0 # Apache-2.0
psycopg2>=2.5 # LGPL/ZPL
pylint==1.4.5 # GNU GPL v2

11
tox.ini
View File

@ -42,11 +42,22 @@ commands = {posargs}
[testenv:docs]
commands =
rm -rf doc/html doc/build
rm -rf api-ref/build api-ref/html
rm -rf doc/source/apidoc doc/source/api
python setup.py build_sphinx
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
whitelist_externals =
rm
[testenv:api-ref]
install_command = pip install -U --force-reinstall {opts} {packages}
commands =
rm -rf api-ref/build api-ref/html
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
whitelist_externals =
rm
[testenv:pylint]
setenv = VIRTUAL_ENV={envdir}
commands = bash tools/lintstack.sh