{% include "lib/macros.html" %}
{% extends "api/api.template.html" %}

{% block additional %}

{% if doc.usage %}
  <section class="api-section">
    <h2 id="Usage">Usage</h2>
      {$ doc.usage | marked $}
  </section>
{% endif %}

  {% if doc.params or doc.returns or doc.this or doc.kind == 'function' -%}
    <section class="api-section">
      {% include "lib/params.template.html" %}
      {% include "lib/this.template.html" %}
      {% include "lib/returns.template.html" %}
    </section>
  {%- endif %}

  {% include "lib/methods.template.html" %}
  {% include "lib/events.template.html" %}
  {% include "lib/properties.template.html" %}

{% endblock %}
