We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41eb94b commit 244796dCopy full SHA for 244796d
spec/_static/javascripts/version_dropdown.js
@@ -21,7 +21,7 @@ function add_version_dropdown(json_loc, target_loc, text) {
21
dropdown.appendChild(content);
22
$.getJSON(json_loc, function(versions) {
23
var currentURL = window.location.href;
24
- var path = currentURL.split("_site")[1];
+ var path = currentURL.split(/_site|array_api/)[1];
25
if (path) {
26
path = path.split("/");
27
path = path.slice(2, path.length);
0 commit comments