a6d8c232e0
A new look and feel for the Zephyr documentation. It is largerly based on the work done by Godot Engine docs, but with some Zephyr specific customizations. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
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 %}
|
|
{% block extrahead %}
|
|
<meta name="color-scheme" content="dark light">
|
|
{# Light/Dark stylesheets added here due to https://github.com/readthedocs/sphinx_rtd_theme/issues/1100 #}
|
|
<link rel="stylesheet" href="{{ pathto('_static/css/light.css', 1) }}" type="text/css" media="(prefers-color-scheme: light)"/>
|
|
<link rel="stylesheet" href="{{ pathto('_static/css/dark.css', 1) }}" type="text/css" media="(prefers-color-scheme: dark)"/>
|
|
{% endblock %}
|