diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index 106d82b64ff..2572232c79c 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -107,7 +107,7 @@ Parameters {# default / choices #}
- {# Recalculate choices and boolean values #} + {# Turn boolean values in 'yes' and 'no' values #} {% if value.default is defined %} {% if value.default == true %} {% set _x = value.update({'default': 'yes'}) %} @@ -122,10 +122,16 @@ Parameters {% if value.choices %} @@ -305,7 +311,6 @@ Common return values are documented :ref:`here `, the foll
{% for i in range(1, loop.depth) %}
 
-
{% endfor %}
@{ key }@ @@ -324,9 +329,9 @@ Common return values are documented :ref:`here `, the foll {% endfor %} {% endif %}
- {% if value.sample is defined and value.sample %} + {% if value.sample is defined and value.sample %}
Sample:
- {# TODO: The sample should be escaped, using | escape or | htmlify, but both mess things up beyond repair with dicts #} + {# TODO: The sample should be escaped, using |escape or |htmlify, but both mess things up beyond repair with dicts #}
@{ value.sample | replace('\n', '\n ') | html_ify }@
{% endif %}