set_versions/switchers: Drop versions shown to the active releases

Message ID 20220323102429.1263940-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series set_versions/switchers: Drop versions shown to the active releases | expand

Commit Message

Richard Purdie March 23, 2022, 10:24 a.m. UTC
I believe we should only be showing the "active" versions in the switchers
base list of releases to show. Zeus and warrior are old and no longer actively
maintained and we don't suggest new users use them. gatesgarth is also
outside it's support window.

I therefore propose removing these leaving us with dev, honister, hardknott,
dunfell (LTS). In addition, any release that is selected will be shown, along
with any later release in that release series.

People can still navigate to the older docs using the releases list or by
direct URL but this highlights to users which releases we'd expect/encourage
them to be using.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 documentation/set_versions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/documentation/set_versions.py b/documentation/set_versions.py
index 9f0d79429..af237f29e 100755
--- a/documentation/set_versions.py
+++ b/documentation/set_versions.py
@@ -23,7 +23,7 @@  ourversion = None
 if len(sys.argv) == 2:
     ourversion = sys.argv[1]
 
-activereleases = ["honister", "hardknott", "gatesgarth", "dunfell", "zeus", "warrior"]
+activereleases = ["honister", "hardknott", "dunfell"]
 #devbranch = "langdale"
 devbranch = "kirkstone"
 ltsseries = ["kirkstone", "dunfell"]