mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00: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:
committed by
Jordan Borean
parent
0880297909
commit
7381554e42
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>
|
||||
{% else %}
|
||||
{% for desc in value.description %}
|
||||
<p>@{ desc | replace('\n', '\n ') | html_ify }@</p>
|
||||
<div>@{ desc | replace('\n', '\n ') | html_ify }@</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if 'aliases' in value and value.aliases %}
|
||||
|
||||
Reference in New Issue
Block a user