From 1cd995185bcd0ea3612ebaee2c311a5f36b2fa64 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 30 May 2025 02:02:01 +0100 Subject: [PATCH] sync-docs: fix selection menu when opening 'latest' man 'devel' will always sort first, so the highest version is the second entry, not the first one --- tools/sync-docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sync-docs.py b/tools/sync-docs.py index ab10413c3a..0a14108bfc 100755 --- a/tools/sync-docs.py +++ b/tools/sync-docs.py @@ -26,7 +26,7 @@ $(document).ready(function() { $.each( data, function(_, version) { if (version == dirname) { items.push( ""); - } else if (dirname == "latest" && version == data[0]) { + } else if (dirname == "latest" && version == data[1]) { items.push( ""); } else { items.push( "");