From: Luca Boccassi Date: Fri, 30 May 2025 01:02:01 +0000 (+0100) Subject: sync-docs: fix selection menu when opening 'latest' man X-Git-Tag: v258-rc1~442^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cd995185bcd0ea3612ebaee2c311a5f36b2fa64;p=thirdparty%2Fsystemd.git 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 --- diff --git a/tools/sync-docs.py b/tools/sync-docs.py index ab10413c3a9..0a14108bfc0 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( "");