d3c11f436312528bff332130c3b93c021c422fd5
Should resolve #21 I cannot seem to get this to run properly on my machine, however this is an educated guess because the Chinese translation looks correct. zh-cn https://docs.gitea.com/zh-cn/administration/config-cheat-sheet#repository---release-repositoryrelease https://gitea.com/gitea/gitea-docusaurus/src/commit/8c38ae516a72b802cc2889a507c824e0174f5256/loop_docs-zh-cn.sh#L11 en-us https://docs.gitea.com/administration/config-cheat-sheet#repository---release-repositoryrelease (check diff for current incantation) Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/22 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: jolheiser <john.olheiser@gmail.com> Co-committed-by: jolheiser <john.olheiser@gmail.com>
Gitea Docusaurus
How to build
make clean
make build
Development
make clean
make serve
Test en version
npm run start
Test zh-cn version
npm run start -- --locale zh-cn
Translate presets for zh-cn version
npx docusaurus write-translations --locale zh-cn
Test both zh-cn and en versions
npm run build
npm run serve
Languages
MDX
62.5%
JavaScript
22.8%
CSS
11.7%
Shell
2%
Makefile
1%