{% import "lib/descendants.html" as descendants -%} {% macro renderOptionsTable(doc) %} {%- for option in doc.members %} {% endfor -%}
OptionDescription
{$ option.name $} {$ option.shortDescription | marked $}
{% for ancestor in doc.extendsClauses %}{% if ancestor.doc %}

Inherited from {$ ancestor.doc.name $} decorator

{$ renderOptionsTable(ancestor.doc) $} {% endif %}{% endfor %} {% endmacro %} {% if doc.members.length %}
{$ renderOptionsTable(doc) $} {$ descendants.renderDescendants(doc, 'decorator', 'Subclasses') $}
{% endif %}