mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 12:41:27 +00:00
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
8c38ae516a/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
Description
Languages
MDX
55.9%
JavaScript
26.7%
CSS
13.8%
Shell
2.4%
Makefile
1.2%