{% comment %} Documentation of a model admin (AdminConfig.documentation): one
per markdown section, above the changelist or the form. {% endcomment %} {% if documentation_config and documentation_sections %} {% if documentation_config.enable_plugins %}{{ mermaid_resources|safe }}{% endif %}
{{ documentation_config.title }}{% if documentation_sections|length > 1 %} ({{ documentation_sections|length }}){% endif %} {% for section in documentation_sections %}
{{ section.title }}
{{ section.content|safe }}
{% endfor %}
{% endif %}