mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +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 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 <[email protected]> Co-authored-by: jolheiser <[email protected]> Co-committed-by: jolheiser <[email protected]>
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
TypeScript
42.4%
MDX
30.9%
Astro
8.1%
JavaScript
6.4%
Shell
6%
Other
6.2%