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