Add doc support for update_allowed
Add a section that says if the property can be updated non destructively. Change-Id: I204c42075a4454c45066e2c68c4793dc3c77f9e9 Closes-bug: #1240583
This commit is contained in:
parent
3e6933ce3f
commit
803c42ce29
|
@ -170,6 +170,14 @@ Resources:
|
|||
para = nodes.paragraph('', prop.description)
|
||||
definition.append(para)
|
||||
|
||||
if prop.update_allowed:
|
||||
para = nodes.paragraph('',
|
||||
_('Can be updated without replacement.'))
|
||||
definition.append(para)
|
||||
else:
|
||||
para = nodes.paragraph('', _('Updates cause replacement.'))
|
||||
definition.append(para)
|
||||
|
||||
if prop.required:
|
||||
para = nodes.paragraph('', _('Required property.'))
|
||||
elif prop.default is not None:
|
||||
|
|
Loading…
Reference in New Issue