|
|
@ -18,7 +18,7 @@
|
|
|
|
@{ desc | jpfunc }@
|
|
|
|
@{ desc | jpfunc }@
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if options is defined -%}
|
|
|
|
{% if options -%}
|
|
|
|
.. raw:: html
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<table>
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>@{ k }@</td>
|
|
|
|
<td>@{ k }@</td>
|
|
|
|
<td>@{ v.get('required',False) }@</td>
|
|
|
|
<td>@{ v.get('required',False) }@</td>
|
|
|
|
<td>@{ v['default'] }@</td>
|
|
|
|
<td>{% if v['default'] %}@{ v['default'] }@{% endif %}</td>
|
|
|
|
<td><ul>{% for choice in v.get('choices',[]) -%}<li>@{ choice }@</li>{% endfor -%}</ul></td>
|
|
|
|
<td><ul>{% for choice in v.get('choices',[]) -%}<li>@{ choice }@</li>{% endfor -%}</ul></td>
|
|
|
|
<td>{% for desc in v.description -%}@{ desc | html_ify }@{% endfor -%}</td>
|
|
|
|
<td>{% for desc in v.description -%}@{ desc | html_ify }@{% endfor -%}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
@ -46,8 +46,17 @@
|
|
|
|
{% for example in examples %}
|
|
|
|
{% for example in examples %}
|
|
|
|
{% if example['description'] %}<p>@{ example['description'] | html_ify }@</p>{% endif %}
|
|
|
|
{% if example['description'] %}<p>@{ example['description'] | html_ify }@</p>{% endif %}
|
|
|
|
<p><pre>
|
|
|
|
<p><pre>
|
|
|
|
@{ example['code'] }@</pre></p>
|
|
|
|
@{ example['code'] }@
|
|
|
|
|
|
|
|
</pre></p>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if notes %}
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Notes</h4>
|
|
|
|
|
|
|
|
{% for note in notes %}
|
|
|
|
|
|
|
|
<p>@{ note | html_ify }@</p>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|