mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 12:41:27 +00:00
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

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>
87 lines
1.5 KiB
JSON
87 lines
1.5 KiB
JSON
{
|
|
"docs": [
|
|
{
|
|
"type": "doc",
|
|
"id": "intro",
|
|
"label": "What is Gitea?"
|
|
},
|
|
{
|
|
"type": "category",
|
|
"label": "Installation",
|
|
"link": {
|
|
"type": "generated-index"
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "autogenerated",
|
|
"dirName": "installation"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "category",
|
|
"label": "Administration",
|
|
"link": {
|
|
"type": "generated-index"
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "autogenerated",
|
|
"dirName": "administration"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "category",
|
|
"label": "Usage",
|
|
"link": {
|
|
"type": "generated-index"
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "autogenerated",
|
|
"dirName": "usage"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "category",
|
|
"label": "Development",
|
|
"link": {
|
|
"type": "generated-index"
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "autogenerated",
|
|
"dirName": "development"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "category",
|
|
"label": "Contributing",
|
|
"link": {
|
|
"type": "generated-index"
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "autogenerated",
|
|
"dirName": "contributing"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "category",
|
|
"label": "Help",
|
|
"link": {
|
|
"type": "generated-index"
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "autogenerated",
|
|
"dirName": "help"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |