From 7ee2fd8d67d466b4a67250ac1ada449df385271a Mon Sep 17 00:00:00 2001 From: Janusz Lisiecki Date: Mon, 18 May 2026 23:14:35 +0200 Subject: [PATCH] Fix docs version selector paths for DALI 2.x The docs version selector generated legacy-version entries without marking them as short user-guide links. For DALI 2.x pages, that made the selector add an unnecessary `docs/` path component. Mark generated DALI 2.x entries with the existing `short_user` path mode so the selector builds links that match the published layout. Signed-off-by: Janusz Lisiecki --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index b03decb8d3c..96e5e8353bd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -294,7 +294,7 @@ v_major = int(version_short.split(".")[0]) v_minor = int(version_short.split(".")[1]) for i in range(0, v_minor + correction): - versions.append((f"{v_major}.{i}", f"dali_{v_major}_{i}_0")) + versions.append((f"{v_major}.{i}", f"dali_{v_major}_{i}_0", "short_user")) # ToDo add logic to handle other major releases after 1 and before the current