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:
parent
002de4decf
commit
517ee9172f
1 changed files with 6 additions and 0 deletions
6
doc/_templates/layout.html
vendored
6
doc/_templates/layout.html
vendored
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue