diff --git a/doc/source/restapi.rst b/doc/source/restapi.rst index f42c952f..9f36416d 100644 --- a/doc/source/restapi.rst +++ b/doc/source/restapi.rst @@ -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 diff --git a/tox.ini b/tox.ini index dc55c7e4..de8730eb 100644 --- a/tox.ini +++ b/tox.ini @@ -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