mirror of
https://github.com/ceph/ceph
synced 2024-12-28 14:34:13 +00:00
doc/_ext: render constraint and policies if available
they are used by rbd options. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
907044dc59
commit
f84504464a
@ -56,6 +56,12 @@ TEMPLATE = '''
|
||||
{%- elif opt.max is defined %}
|
||||
:max: ``{{ opt.max }}``
|
||||
{%- endif %}
|
||||
{%- if opt.constraint %}
|
||||
:constraint: {{ opt.constraint }}
|
||||
{% endif %}
|
||||
{%- if opt.policies %}
|
||||
:policies: {{ opt.policies }}
|
||||
{% endif %}
|
||||
{%- if opt.see_also %}
|
||||
:see also: {{ opt.see_also | map('ref_confval') | join(', ') }}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user