Commit 49f736c
committed
docs: derive current_version from DOCS_DISPLAY_VERSION too
The previous fix set only display_version from DOCS_DISPLAY_VERSION, but the
version switcher (current_version and generateVersionsDocs) still relied on
_stable_ver, which is empty in the consolidated deploy — so the switcher showed
"latest" and highlighted the wrong version. Let _stable_ver honour
DOCS_DISPLAY_VERSION so all three resolve to the built version.
Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>1 parent 8c807fc commit 49f736c
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
0 commit comments