.. _@{ module }@: @{ module }@ `````````````````````````````` {# ------------------------------------------ # # Please note: this looks like a core dump # but it isn't one. # --------------------------------------------#} {% if version_added is defined -%} .. versionadded:: @{ version_added }@ {% endif %} {% for desc in description -%} @{ desc | jpfunc }@ {% endfor %} {% if options is defined -%} .. raw:: html {% for (k,v) in options.iteritems() %} {% endfor %}
parameter required default choices comments
@{ k }@ @{ v.get('required',False) }@ @{ v['default'] }@
    {% for choice in v.get('choices',[]) -%}
  • @{ choice }@
  • {% endfor -%}
{% for desc in v.description -%}@{ desc | html_ify }@{% endfor -%}
{% endif %} .. raw:: html {% for example in examples %} {% if example['description'] %}

@{ example['description'] | html_ify }@

{% endif %}

    @{ example['code'] }@

{% endfor %}