mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Add Requirements to rst template, ansible-doc
tweak position & look of Requirements in rst tweak APT's notes as per anhj's wish
This commit is contained in:
@@ -42,6 +42,18 @@
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
{% if requirements %}
|
||||
.. raw:: html
|
||||
|
||||
<p>
|
||||
<b>Requirements:</b>
|
||||
{% for req in requirements %}
|
||||
@{ req | html_ify }@
|
||||
{% endfor %}
|
||||
</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
.. raw:: html
|
||||
|
||||
{% for example in examples %}
|
||||
@@ -62,6 +74,7 @@
|
||||
</pre>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if notes %}
|
||||
.. raw:: html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user