zephyr/doc/_templates/layout.html
Anas Nashif 517ee9172f doc: add a header to all pages about development version
Add a header to all pages indicating the documentation is for the
development version of Zephyr.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-05-28 10:30:38 +02:00

21 lines
704 B
HTML

{% extends "!layout.html" %}
{% block document %}
{% if is_release %}
<div class="wy-alert wy-alert-danger">
The <a href="/latest/{{ pagename }}.html">latest development version</a>
of this page may be more current than this released {{ version }} version.
</div>
{% else %}
<div class="wy-alert wy-alert-danger">
This is the documentation for the latest (master) development branch of
Zephyr. If you are looking for the documentation of previous releases, use
the drop-down menu on the left and select the desired version.
</div>
{% endif %}
{{ super() }}
{% endblock %}
{% block menu %}
{% include "zversions.html" %}
{{ super() }}
{% endblock %}