fix docs env

soursecode is not a right directive.
don't treat warnings as errors in api-ref builds.

Change-Id: I7640ad741f31c554f40e9169ac42e4c1b6774dea
This commit is contained in:
Vitaly Gridnev 2016-09-14 19:07:10 +03:00
parent 2371ba4a85
commit 602a771975
2 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ This parameter must be a positive integer number.
Example:
Get 15 clusters after cluster with id=d62ad147-5c10-418c-a21a-3a6597044f29:
.. soursecode:: http
.. sourcecode:: http
GET /v1.1/{tenant_id}/clusters?limit=15&marker=d62ad147-5c10-418c-a21a-3a6597044f29
@ -73,13 +73,13 @@ for sorting objects. Sahara API supports ascending and descending sorting.
Examples:
Sort clusters by name:
.. soursecode:: http
.. sourcecode:: http
GET /v1.1/{tenant_id}/clusters?sort_by=name
Sort clusters by date of creation in descending order:
.. soursecode:: http
.. sourcecode:: http
GET /v1.1/{tenant_id}/clusters?sort_by=-created_at

View File

@ -53,7 +53,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 -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
whitelist_externals =
rm