Go to file
Lunny Xiao 25f9d32ced
Some checks failed
checks / build-docs (pull_request) Failing after 37s
Fix ci
2023-06-12 16:07:17 +08:00
.gitea/workflows fix typo and some seds for <empty> (#15) 2023-05-26 17:49:55 +08:00
i18n Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
src Use mdxa to point to versioned links (#27) 2023-06-09 06:57:18 +00:00
static first commit 2023-02-02 23:30:20 -05:00
versioned_sidebars Add Chinese support (#13) 2023-05-26 14:30:13 +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 Add Chinese support (#13) 2023-05-26 14:30:13 +08:00
Makefile Fix ci 2023-06-12 16:07:17 +08:00
README.md Add Chinese support (#13) 2023-05-26 14:30:13 +08:00
babel.config.js first commit 2023-02-02 23:30:20 -05:00
check_outdated.sh Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
docusaurus.config.js Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
loop_docs-19-zh-cn.sh Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
loop_docs-19.sh Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
loop_docs-zh-cn.sh Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
loop_docs.sh Add outdated component to outdated documents (#25) 2023-06-08 03:34:23 +00:00
package-lock.json bump docusaurus 2023-03-04 00:51:12 -05:00
package.json bump docusaurus 2023-03-04 00:51:12 -05:00
sidebars.js Add Chinese support (#13) 2023-05-26 14:30:13 +08:00
versions.json rm 1.18 steps 2023-03-25 01:54:21 -04:00

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