1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Format module requirements as notes in Sphinx

This commit is contained in:
Michael DeHaan 2013-12-25 14:12:00 -05:00
parent eb0509fce7
commit f4aa6c53bd

View file

@ -47,15 +47,11 @@
{% endif %}
{% if requirements %}
.. raw:: html
{% for req in requirements %}
<p>
<b>Requirements:</b>
{% for req in requirements %}
@{ req | html_ify }@
{% endfor %}
</p>
.. note:: Requires @{ req | html_ify }@
{% endfor %}
{% endif %}
{% if not plainexamples %}