Format module requirements as notes in Sphinx

pull/5421/merge
Michael DeHaan 11 years ago
parent eb0509fce7
commit f4aa6c53bd

@ -47,15 +47,11 @@
{% endif %} {% endif %}
{% if requirements %} {% if requirements %}
.. raw:: html {% for req in requirements %}
<p> .. note:: Requires @{ req | html_ify }@
<b>Requirements:</b>
{% for req in requirements %}
@{ req | html_ify }@
{% endfor %}
</p>
{% endfor %}
{% endif %} {% endif %}
{% if not plainexamples %} {% if not plainexamples %}

Loading…
Cancel
Save