mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
fix docs-list-mdx-pages (#95230)
This commit is contained in:
parent
f55abc0606
commit
0ba41effeb
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ function walkMarkdownFiles(dir, base = dir) {
|
|||
continue;
|
||||
}
|
||||
files.push(...walkMarkdownFiles(fullPath, base));
|
||||
} else if (entry.isFile() && entry.name.endsWith(".md")) {
|
||||
} else if (entry.isFile() && /\.(md|mdx)$/i.test(entry.name)) {
|
||||
files.push(relative(base, fullPath));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue