mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-14 13:30:01 +00:00
doc: update breadcrumb to include release version
As a DX improvement in the documentation, include the release version (or Latest) in the breadcrumb header on every page. This can help readers know which release version documentation they're using. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
committed by
David Kinder
parent
87bab944e6
commit
f300d1ff77
9
doc/_templates/layout.html
vendored
9
doc/_templates/layout.html
vendored
@@ -1,13 +1,4 @@
|
||||
{% extends "!layout.html" %}
|
||||
{% block document %}
|
||||
{% if is_release %}
|
||||
<div class="wy-alert wy-alert-danger">
|
||||
The <a href="/{{ pagename }}.html">latest development version</a>
|
||||
of this page may be more current than this released {{ version }} version.
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
{% block menu %}
|
||||
{% include "aversions.html" %}
|
||||
{{ super() }}
|
||||
|
Reference in New Issue
Block a user