mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 04:31:26 +00:00
Remove unnecessary files
This commit is contained in:
32
README.md
32
README.md
@@ -1,4 +1,4 @@
|
||||
# Gitea Docusaurus 
|
||||
# Gitea Docs 
|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user