diff --git a/tools/doc/allhtml.mjs b/tools/doc/allhtml.mjs index 822d6c482d2f5a..8c2135dc8cbc8f 100644 --- a/tools/doc/allhtml.mjs +++ b/tools/doc/allhtml.mjs @@ -53,9 +53,8 @@ for (const link of toc.match(//g)) { return ` { + .replace(/ { if (!htmlFiles.includes(href)) return match; - const linkModule = href.replace(/\.html$/, ''); return `