diff --git a/docs/_static/js/custom.js b/docs/_static/js/custom.js index 9f2888ff2a0d53..489f63295266b2 100644 --- a/docs/_static/js/custom.js +++ b/docs/_static/js/custom.js @@ -372,7 +372,7 @@ document.addEventListener('DOMContentLoaded', function () { if (searchInterfaceSa) { let ver = getCurrentVersion(); if (ver) { - searchInterfaceSa.innerHTML = searchInterfaceSa.innerHTML.replace('search.html', 'search.html#f-ovversion=' + ver); + searchInterfaceSa.innerHTML = searchInterfaceSa.innerHTML.replace('search.html', '/' + ver +'/search.html#f-ovversion=' + ver); } await searchInterfaceSa.initialize({ accessToken: "xx1f2aebd3-4307-4632-aeea-17c13378b237",