xref: /aosp_15_r20/external/leakcanary2/docs/theme/main.html (revision d9e8da70d8c9df9a41d7848ae506fb3115cae6e6)
1{% extends "base.html" %}
2
3{% block announce %}
4   Upgrade to <a href="{{ base_url }}/changelog/">LeakCanary <strong>{{config.extra.leak_canary.release}}</strong></a> �� Want to help?  <a href="{{ base_url }}/how_to_help/">Here's how you can contribute<a> ��
5{% endblock %}
6
7{% block content %}
8  {% if page.edit_url %}
9    {% if "/api/" in page.edit_url %}
10  <span style="float: right">�� Documentation issue? <a href="https://github.com/square/leakcanary/issues/new?assignees=&labels=type%3A+documentation&template=4-doc.md&title=Doc%20issue%20with%20{{ page.url }}%20page">Report it</a></span>
11    {% else %}
12  <span style="float: right">�� Documentation issue? <a href="https://github.com/square/leakcanary/issues/new?assignees=&labels=type%3A+documentation&template=4-doc.md&title=Doc%20issue%20with%20{{ page.url }}%20page">Report</a> or <a href="{{ page.edit_url }}">edit</a></span>
13    {% endif %}
14  {% endif %}
15  {% block source %}
16    {% if page and page.meta and page.meta.source %}
17      {% include "partials/source-link.html" %}
18    {% endif %}
19  {% endblock %}
20  {% if not "\x3ch1" in page.content %}
21    <h1>{{ page.title | default(config.site_name, true)}}</h1>
22  {% endif %}
23  {{ page.content }}
24  {% if page and page.meta %}
25    {% if page.meta.git_revision_date_localized or
26          page.meta.revision_date
27    %}
28      {% include "partials/source-date.html" %}
29    {% endif %}
30  {% endif %}
31{% endblock %}