From ba8ba6632cf005c94e7e5442e4acca727640c000 Mon Sep 17 00:00:00 2001 From: laughingman7743 Date: Sat, 18 Oct 2025 16:34:09 +0900 Subject: [PATCH] fix: Correct version selector to show current version as selected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix version selector dropdown to properly select the currently displayed version by comparing version objects instead of comparing version name with current_version string. Changed comparison from `item.name == current_version` to `item == current_version` to properly match the current version object. Now: - v3.12.2 page shows v3.12.2 as selected - master page shows master as selected 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docs/_templates/versioning.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_templates/versioning.html b/docs/_templates/versioning.html index c9f7ef6d..92557f61 100644 --- a/docs/_templates/versioning.html +++ b/docs/_templates/versioning.html @@ -4,8 +4,8 @@