Go to file
techknowlogick c6c62ade65
All checks were successful
Build and Publish Docs site / build-docs (push) Successful in 6m56s
rc0
2024-04-12 06:48:52 +00:00
.gitea/workflows Update .gitea/workflows/test.yaml 2024-04-05 04:03:10 +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
.trans-copy.sh Bring back trans-copy.sh (#118) 2024-03-16 02:43:09 +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 rc0 2024-04-12 06:47:43 +00:00
loop_docs.sh rc0 2024-04-12 06:48:52 +00:00
Makefile Fix incorrect command order of prepare-docs (#92) 2024-03-16 13:11:41 +00:00
package-lock.json fix(deps): update dependency @mui/material to v5.15.15 (#120) 2024-04-05 16:28:31 +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
README.md Add api page (#32) 2023-07-05 03:54:54 +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