mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable
This commit is contained in:
commit
a5fc35e56f
@ -4,7 +4,9 @@ function pickerGenerator(module) {
|
||||
const tester = new RegExp(`^docs/${module}`);
|
||||
return (markdownData) => {
|
||||
const filename = markdownData.meta.filename;
|
||||
if (tester.test(filename) && !/\.en-US\.md/.test(filename)) {
|
||||
if (tester.test(filename) &&
|
||||
!/\/demo$/.test(path.dirname(filename)) &&
|
||||
!/\.en-US\.md/.test(filename)) {
|
||||
return {
|
||||
meta: markdownData.meta,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user