mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fixes for multiline doc descriotions breaking rst formatting
* strip whitespace to preserve indent level * Make sure to indent subsequent lines of indentation
This commit is contained in:
4
docs/templates/plugin.rst.j2
vendored
4
docs/templates/plugin.rst.j2
vendored
@@ -327,10 +327,10 @@ Common return values are documented :ref:`here <common_return_values>`, the foll
|
||||
<td>
|
||||
<div class="cell-border">
|
||||
{% if value.description is string %}
|
||||
<div>@{ value.description | html_ify }@</div>
|
||||
<div>@{ value.description | html_ify |indent(4)}@</div>
|
||||
{% else %}
|
||||
{% for desc in value.description %}
|
||||
<div>@{ desc | html_ify }@</div>
|
||||
<div>@{ desc | html_ify |indent(4)}@</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user