Skip to content

Commit 1ee16e9

Browse files
committed
fix: Narrow srcExclude to only exclude the root README.md and CONTRIBUTING.md files.
1 parent 2370b07 commit 1ee16e9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.vitepress/config.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ export default withMermaid(
1616
// Custom domain - no base path needed
1717
base: "/",
1818

19-
// Exclude ALL READMEs to strictly avoid duplicate page conflicts
20-
// We already updated navigation to point to specific files instead of folder roots
21-
srcExclude: ["**/README.md", "**/CONTRIBUTING.md"],
19+
// Exclude root README.md only (inner folder READMEs are section overviews)
20+
srcExclude: ["README.md", "CONTRIBUTING.md"],
2221

2322
// Clean URLs
2423
cleanUrls: true,

0 commit comments

Comments
 (0)