Skip to content

Commit

Permalink
Show hidden version in selector if it's the current active version (#…
Browse files Browse the repository at this point in the history
…1609)

Closes #1608
  • Loading branch information
humitos authored Sep 25, 2024
1 parent ccf3114 commit 036a3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/js/versions.js_t
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if (themeLanguageSelector || themeVersionSelector) {
);
if (themeVersionSelector) {
let versions = config.versions.active;
if (config.versions.current.type === "external") {
if (config.versions.current.hidden || config.versions.current.type === "external") {
versions.unshift(config.versions.current);
}
const versionSelect = `
Expand Down

0 comments on commit 036a3b2

Please sign in to comment.