Skip to content

Commit 1c98732

Browse files
author
Luca Forstner
committed
docs: Fix anchor links in readme
1 parent 9e0d314 commit 1c98732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev-utils/src/generate-documentation-table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ function generateTableOfContents(
357357
.map((node) => {
358358
const id = `${parentId}-${node.name.toLowerCase()}`;
359359
let output = `${" ".repeat(depth)}- [\`${node.name}\`](#${id
360-
.replace(/\./g, "")
360+
.replace(/-/g, "")
361361
.toLowerCase()})`;
362362
if (node.children && depth <= 0) {
363363
output += "\n";

0 commit comments

Comments
 (0)