From 951b4943a97d8d34e1b6017bb2ba24f55f0fcc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Thu, 5 Sep 2024 08:50:35 +0200 Subject: [PATCH] docs: don't show doc version admonition on main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- doc/_templates/layout.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 2420dad6f7f..8593fac6113 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -5,12 +5,6 @@ The latest development version of this page may be more current than this released {{ version }} version. - {% else %} -
- This is the documentation for the latest (main) development branch of - Zephyr. If you are looking for the documentation of previous releases, use - the drop-down list at the bottom of the left panel and select the desired version. -
{% endif %} {{ super() }} {% endblock %}