Go to file
jolheiser c4b6b9ba8e
docs: v3
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-11-19 21:38:16 -06:00
.gitea/workflows chore(deps): update actions/setup-node action to v4 (#81) 2023-10-24 20:10:15 +00:00
i18n Add 1.21rc0 2023-10-01 21:01:57 +08:00
src Fix build 2023-10-01 21:54:26 +08: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
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 fix theme import 2023-11-10 13:01:41 -05:00
loop_docs.sh change lineending 2023-10-06 18:36:30 -04:00
Makefile docs: v3 2023-11-19 21:38:16 -06:00
package-lock.json bump to v3 of deps 2023-11-10 12:55:26 -05:00
package.json bump to v3 of deps 2023-11-10 12:55:26 -05: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