forked from gitea/gitea-docusaurus
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: gitea/gitea-docusaurus#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/workflows | ||
i18n | ||
src | ||
static | ||
versioned_sidebars | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
README.md | ||
babel.config.js | ||
check_outdated.sh | ||
docusaurus.config.js | ||
loop_docs-19-zh-cn.sh | ||
loop_docs-19.sh | ||
loop_docs-zh-cn.sh | ||
loop_docs.sh | ||
package-lock.json | ||
package.json | ||
sidebars.js | ||
versions.json |
README.md
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