Skip to content

Commit 951b494

Browse files
kartbencarlescufi
authored andcommitted
docs: don't show doc version admonition on main
It is hard to justify keeping the version admonition/disclaimer eating up so much real estate on all documentation pages. It was useful when search engines tended to index old versions of the documentation and reminding people where they "landed" was a good idea. Now, it is just taking up space and we can safely assume that people explicitly interested in older releases will find their way to the right place, as our version selector is in a very similar spot to how other projects do it. Note that the admonition will still be included on "released" versions of the docs, since the "there might be a more current version of this page" admonition is actually useful to have. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent c0b5aeb commit 951b494

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

doc/_templates/layout.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
The <a href="/latest/{{ pagename }}.html">latest development version</a>
66
of this page may be more current than this released {{ version }} version.
77
</div>
8-
{% else %}
9-
<div class="wy-alert wy-alert-danger" data-nosnippet>
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 list at the bottom of the left panel and select the desired version.
13-
</div>
148
{% endif %}
159
{{ super() }}
1610
{% endblock %}

0 commit comments

Comments
 (0)