mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #1157 from jpmens/rst01
module docs: fixed rst template
This commit is contained in:
commit
705f19d0e2
1 changed files with 10 additions and 1 deletions
|
@ -46,8 +46,17 @@
|
||||||
{% for example in examples %}
|
{% for example in examples %}
|
||||||
{% if example['description'] %}<p>@{ example['description'] | html_ify }@</p>{% endif %}
|
{% if example['description'] %}<p>@{ example['description'] | html_ify }@</p>{% endif %}
|
||||||
<p><pre>
|
<p><pre>
|
||||||
@{ example['code'] }@</pre></p>
|
@{ example['code'] }@
|
||||||
|
</pre></p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
{% if notes %}
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<h4>Notes</h4>
|
||||||
|
{% for note in notes %}
|
||||||
|
<p>@{ note | html_ify }@</p>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue