summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2016-12-09 21:47:25 +0000
committerAndrey Volkov <avolkov@mirantis.com>2017-03-24 15:15:53 +0300
commit8c599913636fb50ce7a2d90df403b2ad741dc3ea (patch)
treeb0e4ebe3d889f71762933232d743b3490ea48bae /.gitignore
parent7463e1eec8f1d4b486703fbfd8d1eb755e0c5b0c (diff)
downloadnova-8c599913636fb50ce7a2d90df403b2ad741dc3ea.tar.gz
Structure for simply managing placement-api-ref
This consists of a duplicate of the [nova-]api-ref setup and conf.py along with tooling to fail the tox -edocs target when a route that is defined in nova.api.openstack.placement.handler.ROUTE_DECLARATIONS is not present in placement-api-ref/source/index.rst. tools/placement_api_docs.py will report which routes are missing. Though completely gameable (as demonstrated in the current lame index.rst) it's better than nothing and provides some useful structuring on what to do next. It's also the case that the 'docs' target in tox is not part of gating. The response for GET / is in place with the necessary parameters.yaml for it to be correctly described. The 'get-root.json' file provides the JSON of the expected response. The expectation is that later commits will add information for other urls and their JSON files will be named method-path-separated-by-dash.json with a request/response qualifier as necessary. Followup patches will add other routes. A new parameters.yaml is used instead of reusing the one from api-ref as there isn't a lot of expected overlap and having a separate file will ease eventual extraction. Running tox -eplacement-api-ref will generate the docs for review, with output in placement-api-ref/build/html/index.html. This will be hooked up with CI to deploy the generated docs, eventually. Change-Id: Ifb4d91d39db0e49b55952e37cdfc9f63dcd37aa3
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 1baab3825b..941cdc6ad9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,7 @@ doc/source/api/*
doc/build/*
api-guide/build/*
api-ref/build/*
+placement-api-ref/build/*
etc/nova/nova.conf.sample
etc/nova/policy.yaml.sample
etc/nova/policy.yaml.merged