From 762838c6fe147d2261fa876f722b62fa0db3c2a4 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 23 Nov 2022 04:46:50 -0500 Subject: [PATCH] [U] Readme instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a5a2ccf4..140e616d 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,13 @@ * `people-list.json`: A list of all people currently in the repository * Directory `/people//`: Built data for a specific person * `page.js`: `page.md` built with MDX + +## 生成/更新繁体文稿 + +更新简体文稿之后请手动执行一个脚本生成繁体文稿。(因为 Github Actions 奇怪的问题太多了,还好难测试,还是换成本地构建啦) + +构建环境需要 python >= 3.7,可以执行 `pip install -r requirements.txt` 来安装依赖。 + +然后运行 `./scripts/convert_zh.py` 就可以更新繁体了! + +这个脚本不会覆盖在已有的繁体文件上的更改,更新已经生成过繁体的简体文稿之后会自动合并,不过还是要手动检查一下哦。