mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Format module requirements as notes in Sphinx
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user