John Olheiser 53e27a0e86 Clone once (#52)
Closes #30
Closes #31
Closes #42

Rather than partially cloning, instead we clone once and then `clean` (to remove generated files), `reset` (to reset changed files), and `checkout` branches as needed. This should allow the outdated translation check to continue to work while also reducing build times significantly.

Before:
![before](/attachments/07c16ef5-110c-451a-9f1b-79f2c8b72caf)

After:
![after](/attachments/d6251f63-087d-4270-946f-63148b8f642a)

Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/52
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2023-07-28 05:52:35 +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-07-28 04:41:21 +00:00
2023-07-28 05:52:35 +00:00
2023-07-05 03:54:54 +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 12 MiB
Languages
MDX 55.9%
JavaScript 26.7%
CSS 13.8%
Shell 2.4%
Makefile 1.2%