mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-12 13:11:27 +00:00
9bc53d050e6ab320dd367c749e2280cd385abf0a
Close #17 mdxa is another component that is safe to eject  And right now some links are using `master` as the branch(link will be redirect to `main`), so checked for that as well. Update: Change `master` to `main` in upstream, so also removed check for `master` https://github.com/go-gitea/gitea/pull/25126 # After For example:     Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/27 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: HesterG <hesterg@noreply.gitea.com> Co-committed-by: HesterG <hesterg@noreply.gitea.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%