HesterG 7ca358b43e Add v1.20 documentation (#28)
Modified `loop_docs.sh` to take `version` and `locale` and params so do not need other `loop_docs*` scripts.

Need confirmation with version information for 1.20 and latest.
Like version in `static/20-swagger.json` and `static/latest-swagger.json`, and version used to replace `{{< version >}}`

Will wait for a stable version for 1.20

![Screen Shot 2023-06-14 at 12.12.18](/attachments/1b316978-0daf-46bb-90a7-632a0fc80898)

Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/28
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: HesterG <hestergong@gmail.com>
Co-committed-by: HesterG <hestergong@gmail.com>
2023-06-14 07:05:13 +00:00
2023-06-14 07:05:13 +00:00
2023-02-02 23:30:20 -05:00
2023-06-14 07:05:13 +00:00
2023-02-02 23:30:20 -05:00
2023-06-14 07:05:13 +00:00
2023-06-14 07:05:13 +00:00
2023-03-04 00:51:12 -05:00
2023-03-04 00:51:12 -05:00
2023-05-26 14:30:13 +08:00
2023-05-26 14:30:13 +08:00
2023-06-14 07:05:13 +00:00

Gitea Docusaurus

How to build

make clean
make build

Development

make clean
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
Description
No description provided
Readme Apache-2.0 13 MiB
Languages
MDX 55.8%
JavaScript 26.8%
CSS 13.8%
Shell 2.4%
Makefile 1.2%