mirror of
https://github.com/one-among-us/data.git
synced 2024-11-22 19:24:51 +08:00
[U] Readme instructions
This commit is contained in:
parent
ec7b0e5235
commit
762838c6fe
10
README.md
10
README.md
@ -20,3 +20,13 @@
|
|||||||
* `people-list.json`: A list of all people currently in the repository
|
* `people-list.json`: A list of all people currently in the repository
|
||||||
* Directory `/people/<userid>/`: Built data for a specific person
|
* Directory `/people/<userid>/`: Built data for a specific person
|
||||||
* `page.js`: `page.md` built with MDX
|
* `page.js`: `page.md` built with MDX
|
||||||
|
|
||||||
|
## 生成/更新繁体文稿
|
||||||
|
|
||||||
|
更新简体文稿之后请手动执行一个脚本生成繁体文稿。(因为 Github Actions 奇怪的问题太多了,还好难测试,还是换成本地构建啦)
|
||||||
|
|
||||||
|
构建环境需要 python >= 3.7,可以执行 `pip install -r requirements.txt` 来安装依赖。
|
||||||
|
|
||||||
|
然后运行 `./scripts/convert_zh.py` 就可以更新繁体了!
|
||||||
|
|
||||||
|
这个脚本不会覆盖在已有的繁体文件上的更改,更新已经生成过繁体的简体文稿之后会自动合并,不过还是要手动检查一下哦。
|
||||||
|
Loading…
Reference in New Issue
Block a user