diff --git a/docs/_templates/page.html b/docs/_templates/page.html
index 21b5b1fcc..9cb1650a1 100644
--- a/docs/_templates/page.html
+++ b/docs/_templates/page.html
@@ -21,10 +21,12 @@ function add_version_selector()
.then(text => {
const versions = text.split("\n").filter(version => version.trim().length > 0);
let p = document.getElementById("rtd-search-form").parentElement;
- const versionName = (version.indexOf(".") != -1) ? version : (version + " (latest minor)");
p.innerHTML = `
` + p.innerHTML;
});
}