Update the styling for the module pages slightly.

This commit is contained in:
Michael DeHaan 2013-12-25 14:06:15 -05:00
parent fb5a342968
commit eb0509fce7

View file

@ -21,7 +21,7 @@
{% if options -%} {% if options -%}
.. raw:: html .. raw:: html
<table> <table border=1 cellpadding=4>
<tr> <tr>
<th class="head">parameter</th> <th class="head">parameter</th>
<th class="head">required</th> <th class="head">required</th>
@ -58,6 +58,7 @@
{% endif %} {% endif %}
{% if not plainexamples %}
.. raw:: html .. raw:: html
{% for example in examples %} {% for example in examples %}
@ -69,22 +70,19 @@
</p> </p>
{% endfor %} {% endfor %}
<br/> <br/>
{% endif %}
{% if plainexamples %} {% if plainexamples %}
.. raw:: html
<pre> Examples::
@{ plainexamples | escape | indent(4, True) }@ @{ plainexamples | escape | indent(4, True) }@
</pre>
{% endif %} {% endif %}
{% if notes %} {% if notes %}
.. raw:: html {% for note in notes %}
.. note:: @{ note | html_ify }@</p>
<h4>Notes</h4> {% endfor %}
{% for note in notes %}
<p>@{ note | html_ify }@</p>
{% endfor %}
{% endif %} {% endif %}