Go to file
Lunny Xiao ac234b2622
All checks were successful
Build and Publish Docs site / build-docs (push) Successful in 7m27s
upgrade version from 1.21.5 -> 1.21.6
2024-02-25 22:32:08 +08:00
.gitea/workflows chore(deps): update aws-actions/configure-aws-credentials action to v4 (#108) 2024-02-19 23:56:49 +00:00
i18n Add 1.21rc0 2023-10-01 21:01:57 +08:00
src remove useless file (#101) 2024-01-03 10:57:53 +00:00
static Docusaurus-ify main repo (#51) 2023-07-27 14:55:46 +00:00
versioned_sidebars Add 1.21rc0 2023-10-01 21:01:57 +08:00
.editorconfig Add .editorconfig and .gitattributes (#29) 2023-06-08 18:07:59 +00:00
.gitattributes Add .editorconfig and .gitattributes (#29) 2023-06-08 18:07:59 +00:00
.gitignore Fix build 2023-10-01 21:17:05 +08:00
.npmrc Add .npmrc and regenerate package-lock.json (#67) 2023-09-07 14:31:43 +00:00
Makefile Makefile enhancements (#89) 2023-11-20 04:27:27 +00:00
README.md Add api page (#32) 2023-07-05 03:54:54 +00:00
babel.config.js first commit 2023-02-02 23:30:20 -05:00
check_outdated.sh Clone once (#52) 2023-07-28 05:52:35 +00:00
docusaurus.config.js upgrade version from 1.21.5 -> 1.21.6 2024-02-25 22:32:08 +08:00
loop_docs.sh upgrade version from 1.21.5 -> 1.21.6 2024-02-25 22:32:08 +08:00
package-lock.json fix(deps): update dependency @mui/material to v5.15.10 (#104) 2024-02-19 23:50:51 +00:00
package.json fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.40.0 (#98) 2024-01-06 05:11:21 +00:00
renovate.json5 Configure Renovate (#71) 2023-10-03 17:13:46 +00:00
sidebars.js Add Chinese support (#13) 2023-05-26 14:30:13 +08:00
versions.json Fix build 2023-10-01 21:17:05 +08:00

Gitea Docusaurus

How to build

make clean
make prepare-docs
make build

Development

make clean
make prepare-docs
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

Use CSR Api

This is for development, api pages will be CSR so this saves building time

npm run start-CSRApi
npm run build-CSRApi