This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Lunny Xiao 897fd52cf7
Some checks are pending
Build and Publish Docs site / build-docs (push) Has started running
Add ini syntax highlight
2024-06-03 21:29:38 +08:00
.gitea/workflows Add version of 1.22 (#137) 2024-05-27 13:52:22 +00:00
i18n Add version of 1.22 (#137) 2024-05-27 13:52:22 +00:00
src Fix api of 1.22 2024-05-27 22:16:26 +08:00
static Docusaurus-ify main repo (#51) 2023-07-27 14:55:46 +00:00
versioned_sidebars Add version of 1.22 (#137) 2024-05-27 13:52:22 +00: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 Add version of 1.22 (#137) 2024-05-27 13:52:22 +00: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 Add ini syntax highlight 2024-06-03 21:29:38 +08:00
loop_docs.sh Add version of 1.22 (#137) 2024-05-27 13:52:22 +00:00
Makefile Add version of 1.22 (#137) 2024-05-27 13:52:22 +00:00
package-lock.json fix(deps): update dependency @mui/material to v5.15.18 (#135) 2024-05-25 20:06:47 +00:00
package.json fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.41.0 (#136) 2024-05-25 20:04:49 +00:00
README.md Update README.md 2024-05-23 13:49:08 +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 Add version of 1.22 (#137) 2024-05-27 13:52:22 +00:00

Gitea Docusaurus badge

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