Remove unnecessary files

This commit is contained in:
Lunny Xiao
2024-06-06 21:08:01 +08:00
parent b9e0a85c9b
commit a33c704da8
5 changed files with 4 additions and 228 deletions

View File

@@ -1,4 +1,4 @@
# Gitea Docusaurus ![badge](https://gitea.com/gitea/gitea-docusaurus/actions/workflows/build-and-publish.yaml/badge.svg)
# Gitea Docs ![badge](https://gitea.com/gitea/docs/actions/workflows/build-and-publish.yaml/badge.svg)
## How to build
@@ -18,34 +18,6 @@ make serve
## Test en version
```
```shell
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
```