]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix all the sphinx-build warnings
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 22 Aug 2013 02:27:21 +0000 (12:27 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 22 Aug 2013 02:41:31 +0000 (12:41 +1000)
except this one:
 WARNING: toctree contains reference to nonexisting document u'api/autoindex'

Change-Id: I176a75c1c3fc9603304f11f867df54d7a7b3610a

doc/source/architecture.rst
doc/source/index.rst
doc/source/template_guide/functions.rst
doc/source/template_guide/hot_guide.rst
doc/source/template_guide/hot_spec.rst
doc/source/templates/cfn/WordPress_Single_Instance.rst
doc/source/templates/hot/hello_world.rst

index 005fb8ef3c2a7e94b90539299d2f57b7533c0e5a..533f706c17038157befadbeaca553be214c078de 100644 (file)
@@ -26,12 +26,12 @@ Detailed Description
 
 What is the purpose of the project and vision for it?
 
-*Heat provides an AWS CloudFormation implementation for OpenStack that orchestrates an AWS CloudFormation template describing a cloud application by executing appropriate OpenStack API calls to generate running cloud applications.
+*Heat provides an AWS CloudFormation implementation for OpenStack that orchestrates an AWS CloudFormation template describing a cloud application by executing appropriate OpenStack API calls to generate running cloud applications.*
 
 Describe the relevance of the project to other OpenStack projects and the OpenStack mission to provide a ubiquitous cloud computing platform:
 
-*The software integrates other core components of OpenStack into a one-file template system. The templates allow creation of most OpenStack resource types (such as instances, floating ips, volumes, security groups, users, etc), as well as some more advanced functionality such as instance high availability, instance autoscaling, and nested stacks. By providing very tight integration with other OpenStack core projects, all OpenStack core projects could receive a larger user base.
-*Currently no other CloudFormation implementation exists for OpenStack. The developers believe cloud developers have a strong desire to move workloads from AWS to OpenStack deployments. Given the missing gap of a well-implemented and integrated CloudFormation API in OpenStack, we provide a high quality implementation of this gap improving the ubiquity of OpenStack.
+*The software integrates other core components of OpenStack into a one-file template system. The templates allow creation of most OpenStack resource types (such as instances, floating ips, volumes, security groups, users, etc), as well as some more advanced functionality such as instance high availability, instance autoscaling, and nested stacks. By providing very tight integration with other OpenStack core projects, all OpenStack core projects could receive a larger user base.*
+*Currently no other CloudFormation implementation exists for OpenStack. The developers believe cloud developers have a strong desire to move workloads from AWS to OpenStack deployments. Given the missing gap of a well-implemented and integrated CloudFormation API in OpenStack, we provide a high quality implementation of this gap improving the ubiquity of OpenStack.*
 
 -------------
 Heat Services
@@ -42,7 +42,7 @@ The developers are focused on creating an OpenStack style project using OpenStac
 As the developers have only started development in March 2012, the architecture is evolving rapidly.
 
 heat
------
+----
 
 The heat tool is a CLI which communicates with the heat-api to execute AWS CloudFormation APIs. End developers could also use the heat REST API directly.
 
@@ -64,4 +64,4 @@ heat-engine
 
 The heat engine's main responsibility is to orchestrate the launching of templates and provide events back to the API consumer.
 
-The templates integrate well with .. _Puppet: https://s3.amazonaws.com/cloudformation-examples/IntegratingAWSCloudFormationWithPuppet.pdf and .. _Chef: http://www.full360.com/2011/02/27/integrating-aws-cloudformation-and-chef.html
\ No newline at end of file
+The templates integrate well with .. _Puppet: https://s3.amazonaws.com/cloudformation-examples/IntegratingAWSCloudFormationWithPuppet.pdf and .. _Chef: http://www.full360.com/2011/02/27/integrating-aws-cloudformation-and-chef.html
index b3a2102740a51c7bb9158645d74a3f30bd19937e..90b40ca99841a2d034393cff8c475813fac76a8d 100644 (file)
@@ -34,7 +34,7 @@ Getting Started
     :maxdepth: 1
 
     getting_started/index
-    troubleshooting/index
+    templates/index
     template_guide/index
     glossary
 
index 3758a16b4e6dbe8f17ba35b029528c0c0313c676..48ae20a26515068d9619cc065c6220123adacd27 100644 (file)
@@ -10,6 +10,7 @@
       WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
       License for the specific language governing permissions and limitations
       under the License.
+
 ==================
 Built in functions
 ==================
@@ -64,13 +65,13 @@ Mappings section.
 Parameters
 ~~~~~~~~~~
 map_name : String
-    The logical name of a mapping declared in the Mappings section that 
+    The logical name of a mapping declared in the Mappings section that
     contains the keys and values.
 
 top_level_key : String
     The top-level key name. It's value is a list of key-value pairs.
 
-second_level_key : String 
+second_level_key : String
     The second-level key name, which is set to one of the keys from the list
     assigned to top_level_key.
 
@@ -162,8 +163,8 @@ Select an item from a list.
 Parameters
 ~~~~~~~~~~
 selector : string or integer
-    The number of item in the list or the name of the item in
-the map.
+    The number of item in the list or the name of the item in the map.
+
 collection : map or list
     The collection to select the item from.
 
@@ -174,12 +175,14 @@ For a list lookup:
 ::
 
   { "Fn::Select" : [ "2", [ "apples", "grapes", "mangoes" ] ] }
+
 Returns ``mangoes``
 
 For a map lookup:
 ::
 
   { "Fn::Select" : [ "red", {"red": "a", "flu": "b"} ] }
+
 Returns ``a``
 
 ---------
@@ -219,6 +222,7 @@ string: String
 Usage
 ~~~~~
 ::
+
   {"Fn::Replace": [
    {'$var1': 'foo', '%var2%': 'bar'},
     '$var1 is %var2%'
index ece38d6680881008ea5583777bb1783da4240a95..a71158453614d25976e3c4f33215ad6a4b12784c 100644 (file)
@@ -11,6 +11,8 @@
       License for the specific language governing permissions and limitations
       under the License.
 
+.. _hot_guide:
+
 =======================================
 Heat Orchestration Template (HOT) Guide
 =======================================
@@ -19,7 +21,7 @@ HOT is a new template format meant to replace the Heat CloudFormation-compatible
 format (CFN) as the native format supported by the Heat over time.
 This guide is targeted towards template authors and explains how to write
 HOT templates based on examples. A detailed specification of HOT can be found
-at :ref:`_hot_spec`.
+at :ref:`hot_spec`.
 
 ------
 Status
@@ -83,7 +85,7 @@ set of *input parameters* instead of hard-coding such values.
 Template input parameters
 -------------------------
 Input parameters defined in the *parameters* section of a HOT template (see also
-:ref:`_hot_spec_parameters`) allow users to customize a template during
+:ref:`hot_spec_parameters`) allow users to customize a template during
 deployment. For example, this allows for providing custom key-pair names or
 image IDs to be used for a deployment.
 From a template author's perspective, this helps to make a template more easily
@@ -123,7 +125,7 @@ In the example above, three input parameters have been defined that have to be
 provided by the user upon deployment. The fixed values for the respective
 resource properties have been replaced by references to the corresponding
 input parameters by means of the *get_param* function (see also
-:ref:`_hot_spec_intrinsic_functions`).
+:ref:`hot_spec_intrinsic_functions`).
 
 You can also define default values for input parameters which will be used in
 case the user does not provide the respective parameter during deployment. For
@@ -159,7 +161,7 @@ users can supply. For example, you might know that the software running in a
 compute instance needs a certain amount of resources so you might want to
 restrict the *instance_type* parameter introduced above. Parameters in HOT
 templates can be restricted by adding a *constraints* section (see also
-:ref:`_hot_spec_parameters_constraints`).
+:ref:`hot_spec_parameters_constraints`).
 For example, the following would allow only three values to be provided as input
 for the *instance_type* parameter:
 
@@ -203,7 +205,7 @@ Providing template outputs
 --------------------------
 In addition to template customization through input parameters, you will
 typically want to provide outputs to users, which can be done in the
-*outputs* section of a template (see also :ref:`_hot_spec_outputs`).
+*outputs* section of a template (see also :ref:`hot_spec_outputs`).
 For example, the IP address by which the instance defined in the example
 above can be accessed should be provided to users. Otherwise, users would have
 to look it up themselves. The definition for providing the IP address of the
@@ -218,4 +220,4 @@ compute instance as an output is shown in the following snippet:
 
 Output values are typically resolved using intrinsic function such as
 the *get_attr* function in the example above (see also
-:ref:`_hot_spec_intrinsic_functions`).
+:ref:`hot_spec_intrinsic_functions`).
index 55d8f913da7f47d83b41909f498897554ddf3424..a8fca8d000df7ba1ab0573c9236213b5527e43c9 100644 (file)
@@ -21,7 +21,7 @@ HOT is a new template format meant to replace the Heat CloudFormation-compatible
 format (CFN) as the native format supported by the Heat over time.
 This specification explains in detail all elements of the HOT template format.
 An example driven guide to writing HOT templates can be found
-at :ref:`_hot_guide`.
+at :ref:`hot_guide`.
 
 ------
 Status
@@ -320,7 +320,7 @@ type
 properties
     This section contains a list of resource specific properties. The property
     value can be provided in place, or can be provided via a function
-    (see :ref:`_hot_spec_intrinsic_functions`).
+    (see :ref:`hot_spec_intrinsic_functions`).
 
 Depending on the type of resource, the resource block might include more
 resource specific metadata. Basically all resource types that can be used in
@@ -363,7 +363,7 @@ parameter value
     This element specifies the value of the output parameter. Typically, this
     will be resolved by means of a function, e.g. by getting an attribute value
     of one of the stack's resources (see also
-    :ref:`_hot_spec_intrinsic_functions`).
+    :ref:`hot_spec_intrinsic_functions`).
 
 The example below shows, how the public IP address of a compute resource can be
 defined as an output parameter.
@@ -427,7 +427,7 @@ The syntax of the get_attr function is as follows:
 resource ID
     This parameter specifies the resource the attribute of which shall be
     resolved. This resource must be defined within the *resources* section of
-    the template (see also :ref:`_hot_spec_resources`).
+    the template (see also :ref:`hot_spec_resources`).
 attribute name
     This parameter specifies the attribute to be resolved.
 
index c56259319d9386e3a4b28f823fe9a0d0dd9769ca..5a2d0352127a846c0b0158cf02b3aa2193b7baa9 100644 (file)
@@ -22,38 +22,38 @@ AWS CloudFormation Sample Template WordPress_Single_Instance: WordPress is web s
 
 Parameters
 ----------
-*KeyName :mod:`(required)`
-       *type
-               *string
-       *description
-               *Name of an existing key pair to use for the instance
-*InstanceType :mod:`(optional)`
-       *type
-               *string
-       *description
-               *Instance type for the instance to be created
-*DBName :mod:`(optional)`
-       *type
-               *string
-       *description
-               *The WordPress database name
-*DBUsernameName :mod:`(optional)`
-       *type
-               *string
-       *description
-               *The WordPress database admin account username
-*DBPassword :mod:`(optional)`
-       *type
-               *string
-       *description
-               *The WordPress database admin account password
-*DBRootPassword :mod:`(optional)`
-       *type
-               *string
-       *description
-               *Root password for MySQL
-*LinuxDistribution :mod:`(optional)`
-       *type
-               *string
-       *description
-               *Distribution of choice
\ No newline at end of file
+*KeyName* :mod:`(required)`
+       *type*
+               *string*
+       *description*
+               *Name* of an existing key pair to use for the instance
+*InstanceType* :mod:`(optional)`
+       *type*
+               *string*
+       *description*
+               *Instance type* for the instance to be created
+*DBName* :mod:`(optional)`
+       *type*
+               *string*
+       *description*
+               *The WordPress database name*
+*DBUsernameName* :mod:`(optional)`
+       *type*
+               *string*
+       *description*
+               *The WordPress database admin account username*
+*DBPassword* :mod:`(optional)`
+       *type*
+               *string*
+       *description*
+               *The WordPress database admin account password*
+*DBRootPassword* :mod:`(optional)`
+       *type*
+               *string*
+       *description*
+               *Root password for MySQL*
+*LinuxDistribution* :mod:`(optional)`
+       *type*
+               *string*
+       *description*
+               *Distribution of choice*
index d08c75ee76c874343a6830d499ee7ec71665e433..9ee65796cf016838e2d360dd185e8cebd75c174b 100644 (file)
@@ -23,18 +23,18 @@ Description
 
 Parameters
 ----------
-*KeyName :mod:`(required)`
-       *type
-               *string
-       *description
-               *Name of an existing key pair to use for the instance
-*InstanceType :mod:`(required)`
-       *type
-               *string
-       *description
-               *Instance type for the instance to be created
-*ImageId :mod:`(required)`
-       *type
-               *string
-       *description
-               *ID of the image to use for the instance
\ No newline at end of file
+*KeyName* :mod:`(required)`
+       *type*
+               *string*
+       *description*
+               *Name* of an existing key pair to use for the instance
+*InstanceType* :mod:`(required)`
+       *type*
+               *string*
+       *description*
+               *Instance type* for the instance to be created
+*ImageId* :mod:`(required)`
+       *type*
+               *string*
+       *description*
+               *ID* of the image to use for the instance