.. _@{ 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 -%} .. raw:: html {% for (k,v) in options.iteritems() %} {% endfor %}
parameter required default choices comments
@{ k }@ {% if v.get('required', False) %}yes{% else %}no{% endif %} {% if v['default'] %}@{ v['default'] }@{% endif %}
    {% 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 %}
{% if notes %} .. raw:: html

Notes

{% for note in notes %}

@{ note | html_ify }@

{% endfor %} {% endif %}