mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix docs-list-mdx-pages (#95230)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user