1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-22 19:24:51 +08:00

[F] Skip tdor

This commit is contained in:
Elihuso Quigley 2024-03-15 15:55:17 +08:00
parent 58a5939f97
commit 7e92edcf38

View File

@ -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