diff options
author | Jan-Piet Mens <jpmens@gmail.com> | 2013-05-11 16:31:47 +0200 |
---|---|---|
committer | Jan-Piet Mens <jpmens@gmail.com> | 2013-05-11 16:46:59 +0200 |
commit | eeb80c695f2d4ab25bb8f2353370cdd2eb0f157c (patch) | |
tree | e79231fff58631cd2be670adee6417e5f616fe9f /hacking/templates | |
parent | Merge pull request #2885 from mvo5/devel (diff) | |
download | ansible-eeb80c695f2d4ab25bb8f2353370cdd2eb0f157c.tar.xz ansible-eeb80c695f2d4ab25bb8f2353370cdd2eb0f157c.zip |
Add Requirements to rst template, ansible-doc
tweak position & look of Requirements in rst
tweak APT's notes as per anhj's wish
Diffstat (limited to 'hacking/templates')
-rw-r--r-- | hacking/templates/rst.j2 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index 7e32090641..6ac18e3b14 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -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 |