{% extends "_base/class.html.jinja" %}
{% import "hippogriffe/hippogriffe.jinja" as hippogriffe %}

{% block heading %}
  {#- Heading block.

  This block renders the heading for the class.
  -#}
  {% if config.show_symbol_type_heading %}<code class="doc-symbol doc-symbol-heading doc-symbol-class"></code>{% endif %}
  {% if config.separate_signature %}
    <span class="doc doc-object-name doc-class-name">{{ config.heading if config.heading and root else class_name }}{{ hippogriffe.bases(class) }}</span>
  {% elif config.merge_init_into_class and "__init__" in all_members %}
    {% with function = all_members["__init__"] %}
      {%+ filter highlight(language="python", inline=True) %}
        {{ class_name }}{% include "signature"|get_template with context %}
      {% endfilter %}
    {% endwith %}
  {% else %}
    <code>{{ class_name }}{{ hippogriffe.bases(class) }}</code>
  {% endif %}
  {{ hippogriffe.url(class) }}
{% endblock heading %}
