Sort suboptions and subresults in docs. (#50315)
Fixes #50041.
(cherry picked from commit 4c473ecef4
)
This commit is contained in:
parent
50d06d9889
commit
6c61fabdd1
1 changed files with 6 additions and 6 deletions
12
docs/templates/plugin.rst.j2
vendored
12
docs/templates/plugin.rst.j2
vendored
|
@ -196,9 +196,9 @@ Parameters
|
||||||
</tr>
|
</tr>
|
||||||
{% if value.suboptions %}
|
{% if value.suboptions %}
|
||||||
{% if value.suboptions.items %}
|
{% if value.suboptions.items %}
|
||||||
@{ loop(value.suboptions.items()) }@
|
@{ loop(value.suboptions|dictsort) }@
|
||||||
{% elif value.suboptions[0].items %}
|
{% elif value.suboptions[0].items %}
|
||||||
@{ loop(value.suboptions[0].items()) }@
|
@{ loop(value.suboptions[0]|dictsort) }@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -324,9 +324,9 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
|
||||||
# ---------------------------------------------------------#}
|
# ---------------------------------------------------------#}
|
||||||
{% if value.contains %}
|
{% if value.contains %}
|
||||||
{% if value.contains.items %}
|
{% if value.contains.items %}
|
||||||
@{ loop(value.contains.items()) }@
|
@{ loop(value.contains|dictsort) }@
|
||||||
{% elif value.contains[0].items %}
|
{% elif value.contains[0].items %}
|
||||||
@{ loop(value.contains[0].items()) }@
|
@{ loop(value.contains[0]|dictsort) }@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -394,9 +394,9 @@ Common return values are documented :ref:`here <common_return_values>`, the foll
|
||||||
# ---------------------------------------------------------#}
|
# ---------------------------------------------------------#}
|
||||||
{% if value.contains %}
|
{% if value.contains %}
|
||||||
{% if value.contains.items %}
|
{% if value.contains.items %}
|
||||||
@{ loop(value.contains.items()) }@
|
@{ loop(value.contains|dictsort) }@
|
||||||
{% elif value.contains[0].items %}
|
{% elif value.contains[0].items %}
|
||||||
@{ loop(value.contains[0].items()) }@
|
@{ loop(value.contains[0]|dictsort) }@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue