summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-12-19 12:33:48 +0000
committerGerrit Code Review <review@openstack.org>2019-12-19 12:33:48 +0000
commit21aed54e5cc622468f634cf488012bf8c12d4333 (patch)
treef4ce491567de7dfcb779949d3e6a43d16c7b7942 /doc
parentd33d27af0d35eb4504b6cacbd0bdc641e7d733b4 (diff)
parentda974ed216625ff261f3ddeb9d2dc8d412fff17c (diff)
downloadheat-21aed54e5cc622468f634cf488012bf8c12d4333.tar.gz
Merge "Use resource description as default description property"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/ext/resources.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/ext/resources.py b/doc/source/ext/resources.py
index 50db470af..76d821b39 100644
--- a/doc/source/ext/resources.py
+++ b/doc/source/ext/resources.py
@@ -289,6 +289,8 @@ resources:
default = nodes.literal('', json.dumps(prop.default))
para.append(default)
definition.append(para)
+ elif prop_key == 'description' and prop.update_allowed:
+ para = nodes.line('', _('Defaults to the resource description'))
for constraint in prop.constraints:
para = nodes.line('', str(constraint))