[U] Readme instructions

pull/32/head
Hykilpikonna 2022-11-23 04:46:50 -05:00 committed by GitHub
parent ec7b0e5235
commit 762838c6fe
Signed by: github
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -20,3 +20,13 @@
* `people-list.json`: A list of all people currently in the repository
* Directory `/people/<userid>/`: 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` 就可以更新繁体了!
这个脚本不会覆盖在已有的繁体文件上的更改,更新已经生成过繁体的简体文稿之后会自动合并,不过还是要手动检查一下哦。