mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07: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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if requirements %}
|
{% if requirements %}
|
||||||
.. raw:: html
|
{% for req in requirements %}
|
||||||
|
|
||||||
<p>
|
.. note:: Requires @{ req | html_ify }@
|
||||||
<b>Requirements:</b>
|
|
||||||
{% for req in requirements %}
|
|
||||||
@{ req | html_ify }@
|
|
||||||
{% endfor %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if not plainexamples %}
|
{% if not plainexamples %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue