From 7e92edcf383ccc8a0de9ff533c9e5c7e0586822c Mon Sep 17 00:00:00 2001 From: Elihuso Quigley Date: Fri, 15 Mar 2024 15:55:17 +0800 Subject: [PATCH] [F] Skip tdor --- scripts/build.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.ts b/scripts/build.ts index 788a38b3..c42404c8 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -47,6 +47,9 @@ function buildPeopleInfoAndList() { // For each person for (const { dirname, srcPath, distPath } of people) { + + if (dirname == 'tdor') continue; + const infoFile = fs.readFileSync(path.join(srcPath, `info.yml`), "utf-8"); const info: any = YAML.load(infoFile); @@ -116,6 +119,7 @@ function buildPeopleInfoAndList() { // Render `people/${dirname}/page.md` to `dist/people/${dirname}/page.js`. function buildPeoplePages() { for (const { dirname, srcPath, distPath } of people) { + if (dirname == 'tdor') continue; for (const lang of ['', '.zh_hant', '.en']) { // Read markdown page and remove markdown meta