diff --git a/packages/typescriptlang-org/lib/bootup/ingestion/createPagesForDocumentation.ts b/packages/typescriptlang-org/lib/bootup/ingestion/createPagesForDocumentation.ts index 21c4021b..cdc05707 100644 --- a/packages/typescriptlang-org/lib/bootup/ingestion/createPagesForDocumentation.ts +++ b/packages/typescriptlang-org/lib/bootup/ingestion/createPagesForDocumentation.ts @@ -23,7 +23,9 @@ export const createDocumentationPages = async ( filter: { sourceInstanceName: { eq: "documentation" } extension: { eq: "md" } - relativeDirectory: { ne: "en/modules-reference/diagrams" } + relativeDirectory: { + regex: "/^(?!en\\/modules-reference\\/diagrams|zh\\/modules-reference\\/diagrams).*$/" + } } ) { nodes {