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 8cc0f5f commit 7b7315dCopy full SHA for 7b7315d
doc/source/_static/js/whatsnew_links.js
@@ -11,12 +11,12 @@
11
const links = Array.from(document.getElementsByTagName("a"));
12
links.forEach((link) => {
13
const re = /(whatsnew.html)#(whatsnew)-[\d]+(-\w+)+/g;
14
- let linkElements = link.href.split("/");
+ let linkElements = link.href.split("/");
15
if (re.test(linkElements.slice(-1)[0])) {
16
let whatsNew = linkElements.slice(-1)[0].split("#");
17
whatsNew = generateWhatsNew(whatsNew);
18
linkElements[linkElements.length - 1] = whatsNew;
19
- link.href = linkElements.join("/")
+ link.href = linkElements.join("/");
20
}
21
});
22
})();
0 commit comments