{% macro show_value(val) %} {% if val._type == "literalExpression" %}
{{ val.text }}
{% else %}
{{ val.text }}
{% endif %} {% endmacro %} {% for option in options %}
{{ option.name }}
Desc:
{{ option.description | safe }}
Type:
{{ option.type }}
{% if option.default is defined %}
Type:
{{ show_value(option.default) }}
{% endif %} {% if option.example is defined %}
example:
{{ show_value(option.example) }}
{% endif %} {% for declaration in option.declarations %}
Source:
{{ declaration.replace(source, "<%s>" % name) }}
{% endfor %}
{% endfor %}