1{% extends "!layout.html" %} 2{% block document %} 3 {% if is_release %} 4 <div class="wy-alert wy-alert-danger"> 5 The <a href="/latest/{{ pagename }}.html">latest development version</a> 6 of this page may be more current than this released {{ version }} version. 7 </div> 8 {% else %} 9 <div class="wy-alert wy-alert-danger"> 10 This is the documentation for the latest (main) development branch of 11 Zephyr. If you are looking for the documentation of previous releases, use 12 the drop-down menu on the left and select the desired version. 13 </div> 14 {% endif %} 15 {{ super() }} 16{% endblock %} 17{% block menu %} 18 {% include "zversions.html" %} 19 {{ super() }} 20{% endblock %} 21{% block extrahead %} 22 <meta name="color-scheme" content="dark light"> 23 {# Light/Dark stylesheets added here due to https://github.com/readthedocs/sphinx_rtd_theme/issues/1100 #} 24 <link rel="stylesheet" href="{{ pathto('_static/css/light.css', 1) }}" type="text/css" media="(prefers-color-scheme: light)"/> 25 <link rel="stylesheet" href="{{ pathto('_static/css/dark.css', 1) }}" type="text/css" media="(prefers-color-scheme: dark)"/> 26{% endblock %} 27