701f59ee1e
- Add extension to get git metadata (date, SHA-1, ...) regarding the latest update made to a page - Add date of last "actual" update to each manually authored doc page - Add admonition inviting to report issues - Add button in breadcrumb to report issue Fixes #60622. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
31 lines
890 B
HTML
31 lines
890 B
HTML
{% extends "!footer.html" %}
|
|
{% block contentinfo %}
|
|
<p>
|
|
{%- if show_copyright %}
|
|
© Copyright {{ copyright }}.
|
|
{%- endif %}
|
|
|
|
{%- if last_updated %}
|
|
<span class="lastupdated">
|
|
Last generated on {{ last_updated }}.
|
|
</span>
|
|
{%- endif -%}
|
|
</p>
|
|
{%- set git_last_updated, sha1 = pagename | git_info | default((None, None), true) %}
|
|
{%- if git_last_updated %}
|
|
<div class="admonition tip">
|
|
<p class="admonition-title">
|
|
Help us keep our technical documentation accurate and up-to-date!
|
|
</p>
|
|
<p>
|
|
The human-authored contents on this page was last updated on {{ git_last_updated }}.
|
|
</p>
|
|
<p>
|
|
If you find any errors on this page, outdated information, or have any other suggestion for
|
|
improving its contents, please consider
|
|
<a href="{{ pagename | vcs_link_get_open_issue_url(sha1) }}">opening an issue</a>.
|
|
</p>
|
|
</div>
|
|
{%- endif %}
|
|
{% endblock %}
|