We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df5ad92 commit 125c287Copy full SHA for 125c287
tools/doc/allhtml.mjs
@@ -55,7 +55,7 @@ for (const link of toc.match(/<a.*?>/g)) {
55
// Prefix all links to other docs modules with those module names
56
.replace(/<a href="(\w[^#"]*)#/g, (match, href) => {
57
if (!htmlFiles.includes(href)) return match;
58
- const linkModule = href.split('.')[0];
+ const linkModule = href.replace(/\.html$/, '');
59
return `<a href="#${linkModule}_`;
60
})
61
.trim() + '\n';
0 commit comments