mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-09 03:20:34 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a86b3a9bed |
No files matched your search
@@ -18,7 +18,7 @@ jobs:
|
||||
PUBLIC_DOCSEARCH_INDEX_NAME: ${{ secrets.DOCSEARCH_INDEX_NAME }}
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6
|
||||
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
|
||||
with:
|
||||
node-version: 26
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
NODE_OPTIONS: --max-old-space-size=8192
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6
|
||||
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
|
||||
with:
|
||||
node-version: 26
|
||||
|
||||
+1
-1
@@ -13,5 +13,5 @@
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"packageManager": "[email protected]6.1"
|
||||
"packageManager": "[email protected]7.0"
|
||||
}
|
||||
Generated
+446
-215
File diff suppressed because it is too large.
Load diff
@@ -11,11 +11,11 @@
|
||||
"check": "astro check"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/starlight": "0.42.7",
|
||||
"@astrojs/starlight": "0.42.8",
|
||||
"@astrojs/starlight-docsearch": "0.8.0",
|
||||
"@gitea-docs/content-loader": "workspace:*",
|
||||
"@pagefind/default-ui": "1.5.2",
|
||||
"astro": "7.4.2",
|
||||
"@pagefind/default-ui": "1.6.0",
|
||||
"astro": "7.4.5",
|
||||
"sharp": "0.35.5",
|
||||
"starlight-openapi": "0.27.0"
|
||||
},
|
||||
|
||||
+129
-33
@@ -1375,6 +1375,19 @@
|
||||
},
|
||||
"description": "StopWatchList"
|
||||
},
|
||||
"StringSlice": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "StringSlice"
|
||||
},
|
||||
"Tag": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
@@ -3789,7 +3802,6 @@
|
||||
"x-go-name": "EnableForcePush"
|
||||
},
|
||||
"enable_force_push_allowlist": {
|
||||
"description": "EnableForcePushAllowlist only takes effect when enable_force_push is true",
|
||||
"type": "boolean",
|
||||
"x-go-name": "EnableForcePushAllowlist"
|
||||
},
|
||||
@@ -4577,9 +4589,6 @@
|
||||
"x-go-name": "Path"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object",
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
},
|
||||
@@ -4664,14 +4673,6 @@
|
||||
"type": "boolean",
|
||||
"x-go-name": "IsDraft"
|
||||
},
|
||||
"make_latest": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MakeLatest"
|
||||
}
|
||||
],
|
||||
"description": "\"true\" sets the release as the latest, \"false\" keeps the current latest, \"legacy\" returns to the newest stable release by date. If omitted, a newly published release becomes the latest only if it is the newest by date"
|
||||
},
|
||||
"name": {
|
||||
"description": "The display title of the release",
|
||||
"type": "string",
|
||||
@@ -5930,14 +5931,6 @@
|
||||
"type": "boolean",
|
||||
"x-go-name": "IsDraft"
|
||||
},
|
||||
"make_latest": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MakeLatest"
|
||||
}
|
||||
],
|
||||
"description": "\"true\" sets the release as the latest, \"false\" keeps the current latest, \"legacy\" returns to the newest stable release by date. If omitted, a newly published release becomes the latest only if it is the newest by date"
|
||||
},
|
||||
"name": {
|
||||
"description": "The new display title of the release",
|
||||
"type": "string",
|
||||
@@ -7766,14 +7759,6 @@
|
||||
"type": "object",
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
},
|
||||
"MakeLatest": {
|
||||
"enum": [
|
||||
"true",
|
||||
"false",
|
||||
"legacy"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"MarkdownOption": {
|
||||
"description": "MarkdownOption markdown options",
|
||||
"properties": {
|
||||
@@ -12001,7 +11986,6 @@
|
||||
"schema": {
|
||||
"enum": [
|
||||
"alpine",
|
||||
"arch",
|
||||
"cargo",
|
||||
"chef",
|
||||
"composer",
|
||||
@@ -12022,7 +12006,6 @@
|
||||
"rubygems",
|
||||
"swift",
|
||||
"terraform",
|
||||
"terraform-module",
|
||||
"vagrant"
|
||||
],
|
||||
"type": "string"
|
||||
@@ -12051,6 +12034,121 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/admin/unadopted": {
|
||||
"get": {
|
||||
"operationId": "adminUnadoptedList",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "page number of results to return (1-based)",
|
||||
"in": "query",
|
||||
"name": "page",
|
||||
"schema": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "page size of results",
|
||||
"in": "query",
|
||||
"name": "limit",
|
||||
"schema": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "glob pattern of repositories to search for, in the form owner or owner/repo",
|
||||
"in": "query",
|
||||
"name": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/components/responses/StringSlice"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/components/responses/error"
|
||||
}
|
||||
},
|
||||
"summary": "List unadopted repositories",
|
||||
"tags": [
|
||||
"admin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/admin/unadopted/{owner}/{repo}": {
|
||||
"delete": {
|
||||
"operationId": "adminDeleteUnadoptedRepository",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "owner of the repo",
|
||||
"in": "path",
|
||||
"name": "owner",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "name of the repo",
|
||||
"in": "path",
|
||||
"name": "repo",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"$ref": "#/components/responses/empty"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/components/responses/error"
|
||||
}
|
||||
},
|
||||
"summary": "Delete unadopted files",
|
||||
"tags": [
|
||||
"admin"
|
||||
]
|
||||
},
|
||||
"post": {
|
||||
"operationId": "adminAdoptRepository",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "owner of the repo",
|
||||
"in": "path",
|
||||
"name": "owner",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "name of the repo",
|
||||
"in": "path",
|
||||
"name": "repo",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"$ref": "#/components/responses/empty"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/components/responses/error"
|
||||
}
|
||||
},
|
||||
"summary": "Adopt unadopted files as a repository",
|
||||
"tags": [
|
||||
"admin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/admin/users": {
|
||||
"get": {
|
||||
"operationId": "adminSearchUsers",
|
||||
@@ -16172,7 +16270,6 @@
|
||||
"schema": {
|
||||
"enum": [
|
||||
"alpine",
|
||||
"arch",
|
||||
"cargo",
|
||||
"chef",
|
||||
"composer",
|
||||
@@ -16193,7 +16290,6 @@
|
||||
"rubygems",
|
||||
"swift",
|
||||
"terraform",
|
||||
"terraform-module",
|
||||
"vagrant"
|
||||
],
|
||||
"type": "string"
|
||||
@@ -30630,7 +30726,7 @@
|
||||
"$ref": "#/components/responses/error"
|
||||
}
|
||||
},
|
||||
"summary": "Gets the release set as latest, else the most recent non-prerelease, non-draft release of a repository by created_at",
|
||||
"summary": "Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at",
|
||||
"tags": [
|
||||
"repository"
|
||||
]
|
||||
|
||||
+120
-31
@@ -630,7 +630,6 @@
|
||||
{
|
||||
"enum": [
|
||||
"alpine",
|
||||
"arch",
|
||||
"cargo",
|
||||
"chef",
|
||||
"composer",
|
||||
@@ -651,7 +650,6 @@
|
||||
"rubygems",
|
||||
"swift",
|
||||
"terraform",
|
||||
"terraform-module",
|
||||
"vagrant"
|
||||
],
|
||||
"type": "string",
|
||||
@@ -676,6 +674,116 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/admin/unadopted": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"admin"
|
||||
],
|
||||
"summary": "List unadopted repositories",
|
||||
"operationId": "adminUnadoptedList",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "page number of results to return (1-based)",
|
||||
"name": "page",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "page size of results",
|
||||
"name": "limit",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "glob pattern of repositories to search for, in the form owner or owner/repo",
|
||||
"name": "query",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/responses/StringSlice"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/responses/error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/admin/unadopted/{owner}/{repo}": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"admin"
|
||||
],
|
||||
"summary": "Adopt unadopted files as a repository",
|
||||
"operationId": "adminAdoptRepository",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "owner of the repo",
|
||||
"name": "owner",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "name of the repo",
|
||||
"name": "repo",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"$ref": "#/responses/empty"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/responses/error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"admin"
|
||||
],
|
||||
"summary": "Delete unadopted files",
|
||||
"operationId": "adminDeleteUnadoptedRepository",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "owner of the repo",
|
||||
"name": "owner",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "name of the repo",
|
||||
"name": "repo",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"$ref": "#/responses/empty"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/responses/error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/admin/users": {
|
||||
"get": {
|
||||
"produces": [
|
||||
@@ -4620,7 +4728,6 @@
|
||||
{
|
||||
"enum": [
|
||||
"alpine",
|
||||
"arch",
|
||||
"cargo",
|
||||
"chef",
|
||||
"composer",
|
||||
@@ -4641,7 +4748,6 @@
|
||||
"rubygems",
|
||||
"swift",
|
||||
"terraform",
|
||||
"terraform-module",
|
||||
"vagrant"
|
||||
],
|
||||
"type": "string",
|
||||
@@ -17771,7 +17877,7 @@
|
||||
"tags": [
|
||||
"repository"
|
||||
],
|
||||
"summary": "Gets the release set as latest, else the most recent non-prerelease, non-draft release of a repository by created_at",
|
||||
"summary": "Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at",
|
||||
"operationId": "repoGetLatestRelease",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -26149,7 +26255,6 @@
|
||||
"x-go-name": "EnableForcePush"
|
||||
},
|
||||
"enable_force_push_allowlist": {
|
||||
"description": "EnableForcePushAllowlist only takes effect when enable_force_push is true",
|
||||
"type": "boolean",
|
||||
"x-go-name": "EnableForcePushAllowlist"
|
||||
},
|
||||
@@ -26917,9 +27022,6 @@
|
||||
"CreatePullReviewComment": {
|
||||
"description": "CreatePullReviewComment represent a review comment for creation api",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"properties": {
|
||||
"body": {
|
||||
"type": "string",
|
||||
@@ -27039,17 +27141,6 @@
|
||||
"type": "boolean",
|
||||
"x-go-name": "IsDraft"
|
||||
},
|
||||
"make_latest": {
|
||||
"description": "\"true\" sets the release as the latest, \"false\" keeps the current latest, \"legacy\" returns to the newest stable release by date. If omitted, a newly published release becomes the latest only if it is the newest by date",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"true",
|
||||
"false",
|
||||
"legacy"
|
||||
],
|
||||
"x-go-enum-desc": "true MakeLatestTrue\nfalse MakeLatestFalse\nlegacy MakeLatestLegacy",
|
||||
"x-go-name": "MakeLatest"
|
||||
},
|
||||
"name": {
|
||||
"description": "The display title of the release",
|
||||
"type": "string",
|
||||
@@ -28328,17 +28419,6 @@
|
||||
"type": "boolean",
|
||||
"x-go-name": "IsDraft"
|
||||
},
|
||||
"make_latest": {
|
||||
"description": "\"true\" sets the release as the latest, \"false\" keeps the current latest, \"legacy\" returns to the newest stable release by date. If omitted, a newly published release becomes the latest only if it is the newest by date",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"true",
|
||||
"false",
|
||||
"legacy"
|
||||
],
|
||||
"x-go-enum-desc": "true MakeLatestTrue\nfalse MakeLatestFalse\nlegacy MakeLatestLegacy",
|
||||
"x-go-name": "MakeLatest"
|
||||
},
|
||||
"name": {
|
||||
"description": "The new display title of the release",
|
||||
"type": "string",
|
||||
@@ -34556,6 +34636,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"StringSlice": {
|
||||
"description": "StringSlice",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Tag": {
|
||||
"description": "Tag",
|
||||
"schema": {
|
||||
|
||||
Reference in new issue
Block a user