Skip to content

Commit

Permalink
Format module requirements as notes in Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael DeHaan committed Dec 25, 2013
1 parent eb0509f commit f4aa6c5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions hacking/templates/rst.j2
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit f4aa6c5

Please sign in to comment.