Add 1.24.0-rc0 documentation (#220)

Reviewed-on: https://gitea.com/gitea/docs/pulls/220
This commit is contained in:
Lunny Xiao
2025-05-05 16:47:20 +00:00
parent e1500d23c7
commit 6e63ddb901
299 changed files with 65525 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ jobs:
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl
mv v1_json.tmpl static/swagger-latest.json
for ver in '1.23.7' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do
for ver in '1.24.0-rc0' '1.23.7' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do
wget https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/v${ver}/templates/swagger/v1_json.tmpl
sed -i "$@" "s|\"version\": \"{{AppVer \| JSEscape}}\"|\"version\": \"${ver}\"|" v1_json.tmpl
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl