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:
John R Barker 2017-12-20 10:49:09 +00:00 committed by Jordan Borean
parent 0880297909
commit 7381554e42

View file

@ -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 %}