{%- if show_headings and not separate %}
{{ basename.split(".")[-1] | e | heading }}

{% endif -%}
.. automodule:: {{ qualname }}
{%- for option in automodule_options %}
   :{{ option }}:
{%- endfor %}
