Merge "Fix some sphinx warnings/errors"

This commit is contained in:
Jenkins 2014-10-01 16:45:14 +00:00 committed by Gerrit Code Review
commit 52cbdb080b
4 changed files with 14 additions and 15 deletions

View File

@ -27,7 +27,7 @@ a generic Openstack deployment and the Rackspace Cloud.
Rackspace resources depend on the dev branch of
`pyrax <https://github.com/rackspace/pyrax/tree/dev>`_ to work
properly. More information about them can be found in the
`README
`RACKSPACE_README
<https://github.com/openstack/heat/blob/master/contrib/rackspace/README.md>`_.
@ -41,20 +41,19 @@ DockerInc Resource
This plugin enables the use of Docker containers in a Heat template and
requires the `docker-py <https://pypi.python.org/pypi/docker-py>`_
package. You can find more information in the `README
<https://github.com/openstack/heat/blob/master/contrib/heat_docker/heat_docker
/README.md>`_.
package. You can find more information in the `DOCKER_README
<https://github.com/openstack/heat/blob/master/contrib/heat_docker/README.md>`_.
.. resourcepages:: DockerInc::
Nova Flavor Resource
------------------
--------------------
.. rubric:: This resource is not enabled by default.
This plugin enables dynamic creation of Nova flavors through Heat. You can
find more information in the `README
<https://github.com/openstack/heat/blob/master/contrib/nova_flavor/nova_flavor
find more information in the `NOVA_FLAVOR_README
<https://github.com/openstack/heat/blob/master/contrib/nova_flavor
/README.md>`_.
.. resourcepages:: NovaFlavor::

View File

@ -382,7 +382,7 @@ For example:
constraints:
- custom_constraint: nova.keypair
.. _hot_spec_pseudo_parameters
.. _hot_spec_pseudo_parameters:
Pseudo Parameters
-----------------
@ -727,7 +727,7 @@ given as single parameter to the get_resource function.
list_join
--------
---------
The *list_join* function joins a list of strings with the given delimiter. This
function is available beginning with the `2014-10-16` version of HOT.
The syntax of the list_join function is as follows:

View File

@ -86,10 +86,10 @@ class NeutronClientPlugin(client_plugin.ClientPlugin):
return subnet_info['subnet']['network_id']
def get_secgroup_uuids(self, security_groups):
'''
Returns a list of security group UUIDs.
'''Returns a list of security group UUIDs.
Args:
security_groups: List of security group names or UUIDs
security_groups: List of security group names or UUIDs
'''
seclist = []
all_groups = None

View File

@ -471,8 +471,7 @@ class Properties(collections.Mapping):
@classmethod
def schema_to_parameters_and_properties(cls, schema):
'''Generates properties with params resolved for a resource's
"""Generates properties with params resolved for a resource's
properties_schema.
:param schema: A resource type's properties_schema
@ -487,7 +486,8 @@ class Properties(collections.Mapping):
'bar': {'Type': 'Json'}},
{'foo': {'Fn::Split': {'Ref': 'foo'}},
'bar': {'Ref': 'bar'}}
'''
"""
def param_prop_def_items(name, schema):
param_def = cls._param_def_from_prop(schema)
prop_def = cls._prop_def_from_prop(name, schema)