Go to file
2023-07-21 09:01:11 +08:00
.gitea/workflows add 1.19 back in 2023-07-21 09:01:11 +08:00
i18n translation for blog on navbar and remove target="_blank" for internal links (#44) 2023-07-12 12:58:44 +00:00
src update header to make it the same as blog (#43) 2023-07-12 03:55:43 +00:00
static first commit 2023-02-02 23:30:20 -05:00
versioned_sidebars Revert "Update docusaurus.config.js" 2023-07-21 09:01:11 +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 Use custom api dropdown and fix compatibility for firefox (#39) 2023-07-07 09:19:52 +00:00
babel.config.js first commit 2023-02-02 23:30:20 -05:00
check_outdated.sh fix sed for MacOS (#36) 2023-06-20 14:47:10 +00:00
docusaurus.config.js update nav link 2023-07-21 09:01:11 +08:00
loop_docs.sh add 1.19 back in 2023-07-21 09:01:11 +08:00
Makefile Add api page (#32) 2023-07-05 03:54:54 +00:00
package-lock.json Add api page (#32) 2023-07-05 03:54:54 +00:00
package.json Use custom api dropdown and fix compatibility for firefox (#39) 2023-07-07 09:19:52 +00:00
README.md Add api page (#32) 2023-07-05 03:54:54 +00:00
sidebars.js Add Chinese support (#13) 2023-05-26 14:30:13 +08:00
versions.json Revert "Update docusaurus.config.js" 2023-07-21 09:01:11 +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