]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Auto-document all resource types.
authorSteve Baker <sbaker@redhat.com>
Thu, 25 Jul 2013 21:04:12 +0000 (09:04 +1200)
committerSteve Baker <sbaker@redhat.com>
Thu, 25 Jul 2013 21:04:12 +0000 (09:04 +1200)
There are separate pages for OpenStack, AWS and Rackspace resources.

Currently the following sources are used for resource type documentation:
- the docstring for the resource class
- properties_schema
- attributes_schema

Change-Id: I901d227e8bc2a7209f216b57653da77a4f500e47

doc/source/template_guide/cfn.rst [new file with mode: 0644]
doc/source/template_guide/index.rst
doc/source/template_guide/openstack.rst [new file with mode: 0644]
doc/source/template_guide/rackspace.rst [new file with mode: 0644]

diff --git a/doc/source/template_guide/cfn.rst b/doc/source/template_guide/cfn.rst
new file mode 100644 (file)
index 0000000..c7f3a21
--- /dev/null
@@ -0,0 +1,16 @@
+..
+      Licensed under the Apache License, Version 2.0 (the "License"); you may
+      not use this file except in compliance with the License. You may obtain
+      a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+      WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+      License for the specific language governing permissions and limitations
+      under the License.
+
+CloudFormation Compatible Resource Types
+----------------------------------------
+.. resourcepages:: AWS::
\ No newline at end of file
index 3c5ed7eb949d9460b2710002a129bc6cb2300b6b..baf1b53e03f62fc6bbcbe5e753191bc0ad0982bc 100644 (file)
@@ -17,4 +17,7 @@ Template Guide
 .. toctree::
    :maxdepth: 2
 
-   functions
\ No newline at end of file
+   functions
+   openstack
+   cfn
+   rackspace
\ No newline at end of file
diff --git a/doc/source/template_guide/openstack.rst b/doc/source/template_guide/openstack.rst
new file mode 100644 (file)
index 0000000..f342a6e
--- /dev/null
@@ -0,0 +1,17 @@
+..
+      Licensed under the Apache License, Version 2.0 (the "License"); you may
+      not use this file except in compliance with the License. You may obtain
+      a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+      WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+      License for the specific language governing permissions and limitations
+      under the License.
+
+
+OpenStack Resource Types
+------------------------
+.. resourcepages:: OS::
diff --git a/doc/source/template_guide/rackspace.rst b/doc/source/template_guide/rackspace.rst
new file mode 100644 (file)
index 0000000..6ba4e2e
--- /dev/null
@@ -0,0 +1,16 @@
+..
+      Licensed under the Apache License, Version 2.0 (the "License"); you may
+      not use this file except in compliance with the License. You may obtain
+      a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+      WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+      License for the specific language governing permissions and limitations
+      under the License.
+
+Rackspace Cloud Resource Types
+------------------------------
+.. resourcepages:: Rackspace::
\ No newline at end of file