## Options {%- for name, children in options.items() recursive %} ##{{loop.depth * "#"}} {{ name }} {% if "type" in children -%} {{ children.description }} {%- if children.default -%} {%- endif -%} {%- if children.example -%} {%- endif -%}
type {{ children.type }} {{ "(read only)" if children.readOnly else "" }}
source {%- for d in children.declarations -%}{{d.name}}{{ ", " if not loop.last else "" }}{%- endfor -%}
default
{{(children.default | default({})).text}}
example
{{(children.example | default({})).text | replace("\n", "\\n")}}
{%- else -%} {{ loop(children.items()) }} {%- endif %} {%- endfor %}