mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Compact documentation (#34081)
Before this fix lists of `documentation:` were in individual <p> tags causing a lot of whitespace on the rendered _module.html pages.
This commit is contained in:
parent
0880297909
commit
7381554e42
1 changed files with 1 additions and 1 deletions
2
docs/templates/plugin.rst.j2
vendored
2
docs/templates/plugin.rst.j2
vendored
|
@ -166,7 +166,7 @@ Options
|
||||||
<div>@{ value.description | replace('\n', '\n ') | html_ify }@</div>
|
<div>@{ value.description | replace('\n', '\n ') | html_ify }@</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for desc in value.description %}
|
{% for desc in value.description %}
|
||||||
<p>@{ desc | replace('\n', '\n ') | html_ify }@</p>
|
<div>@{ desc | replace('\n', '\n ') | html_ify }@</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'aliases' in value and value.aliases %}
|
{% if 'aliases' in value and value.aliases %}
|
||||||
|
|
Loading…
Reference in a new issue