{%- if hints.description -%}

{{ hints.description|safe }}

{%- endif -%} {%- if hints.parameters -%}

Parameters

{%- for param_name, param_hints in hints.parameters.items() if param_hints.optional == false -%} {{ param_name }}* {%- if 'type' in param_hints -%} : {{ param_hints.type }} {%- endif -%} (*required)
{%- if 'description' in param_hints -%}

{{ param_hints.description }}

{%- endif -%} {%- endfor -%} {%- for param_name, param_hints in hints.parameters.items() if (param_hints.optional == true) or (param_hints.optional is undefined) -%} {{ param_name }} {%- if 'type' in param_hints -%} : {{ param_hints.type }} {%- endif -%} {%- if 'default' in param_hints -%} (default: {{ param_hints.default }}) {%- endif -%}
{%- if 'description' in param_hints -%}

{{ param_hints.description }}

{%- endif -%} {%- endfor -%}
{%- endif -%} {%- if hints.inputs -%}

Inputs

{% for input in hints.inputs %} {%- if input.conditional -%} [{{ input.name }}] {%- else -%} {{ input.name }} {%- endif -%} {%- if 'type' in input -%} : {{ input.type }} {%- endif -%}
{%- if input.description -%}

{{ input.description }}

{%- endif -%} {%- endfor -%}
{%- endif -%} {%- if hints.outputs -%}

Outputs

{% for output in hints.outputs %} {%- if output.conditional -%} [{{ output.name }}] {%- else -%} {{ output.name }} {%- endif -%} {%- if 'type' in output -%} : {{ output.type }} {%- endif -%}
{%- if output.description -%}

{{ output.description }}

{%- endif -%} {%- endfor -%}
{%- endif -%} {%- if hints.references -%}

References
{% for reference in hints.references %} [{{ loop.index }}] {%- if reference is string -%} {{ reference }} {%- else -%} {{ reference.text }} {%- endif -%}
{% endfor %}

{%- endif -%}