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 1c32d2e commit 6c3068fCopy full SHA for 6c3068f
spec/_static/javascripts/version_dropdown.js
@@ -87,7 +87,7 @@ async function add_version_dropdown(json_loc, target_loc, text) {
87
const currentURL = window.location.href;
88
89
// Check whether the user is currently on a resource page (e.g., is viewing the specification for a particular function):
90
- let path = currentURL.split(/_site|array_api/)[1];
+ let path = currentURL.split(/_site|array\-api/)[1];
91
92
// Extract the resource subpath:
93
if (path) {
0 commit comments