diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index 48b62b37569..260fc9706f0 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -91,7 +91,6 @@ Options {# Header of the documentation #}
Parameter
-
Required?
Default
Choices
{% if plugin_type != 'module' %} @@ -109,12 +108,12 @@ Options {% endfor %}
- @{ key }@
{% if value.version_added %} (added in @{value.version_added}@){% endif %}
+ @{ key }@ + {% if value.get('required', False) %}
required
{% endif %} + {% if value.version_added %}
(added in @{value.version_added}@)
{% endif %}
- {# required #} -
{% if value.get('required', False) %}required{% endif %}
{# default value #}
{% if value.default %}@{ value.default | html_ify }@{% endif %}
{# choices #}