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>
This commit is contained in:
Anas Nashif 2020-05-27 12:24:43 -04:00 committed by Carles Cufí
parent 002de4decf
commit 517ee9172f

View file

@ -5,6 +5,12 @@
The <a href="/latest/{{ pagename }}.html">latest development version</a> The <a href="/latest/{{ pagename }}.html">latest development version</a>
of this page may be more current than this released {{ version }} version. of this page may be more current than this released {{ version }} version.
</div> </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 %} {% endif %}
{{ super() }} {{ super() }}
{% endblock %} {% endblock %}