diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-12-25 14:12:00 -0500 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-12-25 14:12:00 -0500 |
commit | f4aa6c53bd364408e58d1c5c7cfee90b21a066b2 (patch) | |
tree | 4924411be3e234d723812a4b830048134f7c132d /hacking | |
parent | eb0509fce7a2d0c657cbb7d394baaff6f7379b54 (diff) | |
download | ansible-f4aa6c53bd364408e58d1c5c7cfee90b21a066b2.tar.gz |
Format module requirements as notes in Sphinx
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/templates/rst.j2 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index 8d279676cb..13cdd435c9 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -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 %} |