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:
parent
eb0509fce7
commit
f4aa6c53bd
1 changed files with 3 additions and 7 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue