yp05327 90d5800117 Fix incorrect command order of prepare-docs (#92)
The command order of prepare-docs is incorrect.
We should prepare same version with different locale at once, otherwise the doc files for `zh-cn` in `i18n` folder will be incorrect.

Before: (files in current is as same as version 1.19)
![image](/attachments/81a25d85-ec8e-45dc-b1a1-31d945ae3bfa)

After:
![image](/attachments/31831db4-4f89-45a0-8685-5252665d747b)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/92
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: silverwind <silverwind@noreply.gitea.com>
Co-authored-by: yp05327 <576951401@qq.com>
Co-committed-by: yp05327 <576951401@qq.com>
2024-03-16 13:11:41 +00:00
2024-03-16 03:52:16 +00:00
2023-10-01 21:01:57 +08:00
2024-01-03 10:57:53 +00:00
2023-07-27 14:55:46 +00:00
2023-10-01 21:01:57 +08:00
2023-10-01 21:17:05 +08:00
2024-03-16 02:43:09 +00:00
2023-02-02 23:30:20 -05:00
2023-07-28 05:52:35 +00:00
2024-03-07 09:02:49 +00:00
2024-02-28 23:43:35 +08:00
2023-07-05 03:54:54 +00:00
2023-10-03 17:13:46 +00:00
2023-05-26 14:30:13 +08:00
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
Description
No description provided
Readme Apache-2.0 12 MiB
Languages
MDX 55.9%
JavaScript 26.7%
CSS 13.8%
Shell 2.4%
Makefile 1.2%