silverwind 07849dda65 Add .npmrc and regenerate package-lock.json (#67)
Same `.npmrc` as in gitea repo which also bumps the lockfile version to v3, meaning npm v7 or higher is required.

Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/67
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
2023-09-07 14:31:43 +00:00
2023-07-27 23:49:16 +00:00
2023-07-27 14:55:46 +00:00
2023-07-27 14:55:46 +00:00
2023-02-02 23:30:20 -05:00
2023-07-28 05:52:35 +00:00
2023-08-22 01:27:01 +00:00
2023-08-22 12:21:19 +08:00
2023-07-28 05:52:35 +00:00
2023-08-22 01:27:01 +00:00
2023-07-05 03:54:54 +00:00
2023-05-26 14:30:13 +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
Description
No description provided
Readme Apache-2.0 10 MiB
Languages
JavaScript 61.1%
CSS 30.5%
Shell 5.3%
Makefile 2.8%
MDX 0.3%