mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07: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:
parent
4ead6ee4fc
commit
eeb80c695f
3 changed files with 23 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue