mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +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