Lunny Xiao
0c62ec4893
Add runner 2 and 3 documentations ( #488 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/488
Reviewed-by: silverwind <[email protected] >
2026-08-07 21:02:26 +00:00
Lunny Xiao
7629c02a9a
Fix missing scrollbar in API search results ( #480 )
...
Fixes #257
Co-authored-by: Lunny Xiao <[email protected] >
2026-08-07 16:15:16 +00:00
Lunny Xiao
d52470782b
chore: update size unit ( #485 )
...
Fix #207
Reviewed-on: https://gitea.com/gitea/docs/pulls/485
Reviewed-by: silverwind <[email protected] >
2026-08-03 23:20:33 +00:00
Lunny Xiao
f47fdce6c8
chore: update path ( #486 )
...
Fix #34
Reviewed-on: https://gitea.com/gitea/docs/pulls/486
Reviewed-by: silverwind <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
2026-08-03 15:39:27 +00:00
Lunny Xiao
bc795ac24a
Fix the swagger update cron job ( #481 )
...
The scheduled `update swagger files` job has failed on **every** run since it was added (I checked the run list on gitea.com, ~250 consecutive failures). Two reasons:
1. Upstream moved the file: `go-gitea/gitea` main no longer has `templates/swagger/v1_json.tmpl`, it is now `templates/swagger/v1-swagger.generated.json`, and the placeholders changed from `{{.SwaggerAppVer}}` / `{{.SwaggerAppSubUrl}}` to `0.0.0+GITEA-API-APP-VERSION` / `/GITEA-API-APP-SUBURL/api/v1`. Because the script used `curl --silent` without `--fail`, the 404 body was written into `static/swagger-latest.json`.
2. `main` is protected (`required_approvals=1`), so the job's `git push` to main could never succeed.
Changes:
- `update_api_docs.sh`: `set -euo pipefail`, download with `--fail` (a broken download now aborts instead of committing garbage), try the new generated json first and fall back to the old template for released tags, handle the 1.28+/1.24+/<1.24 placeholder variants, and add a `--latest-only` flag.
- `Makefile`: new `update-api-docs-latest` target for the cron job; `clean` no longer deletes the committed `static/swagger-*.json` files (deleting them breaks `make build`).
- `.gitea/workflows/update_swagger.yaml`: every 12h (plus `workflow_dispatch`) it regenerates only `static/swagger-latest.json`, verifies no placeholder is left and the file is valid JSON, force pushes to `bot/update-swagger-latest` and opens a pull request via the API (HTTP 409 = a PR is already open, it just now points at the new commit). It skips entirely when the bot branch already carries the same file, so no PR churn.
- `README.md`: document the two make targets and the automation.
`secrets.DEPLOY_TOKEN` must belong to a real user with `write:repository` so the PR checks are triggered; the job fails with a clear message if it is empty.
Tested locally in a scratch clone: `make update-api-docs-latest` produces a valid `dev` spec with no placeholders left, `make update-api-docs` still regenerates all released versions, and the workflow shell logic was simulated against a local bare repo for all three paths (open PR / bot branch already up to date / main already up to date), including a shallow clone to confirm `fetch-depth: 1` force pushes work.
Fixes #454
Reviewed-on: https://gitea.com/gitea/docs/pulls/481
Reviewed-by: techknowlogick <[email protected] >
2026-08-02 23:25:17 +00:00
Lunny Xiao
a1ef3a26ef
Remove duplicated runner docs ( #479 )
...
The `usage/actions/runner` has duplicated runner documentations as `/runner`. This PR remove the duplicated content and leave obtain registry token in `usage/actions/runner` and runner install/configurations in `/runner`.
Reviewed-on: https://gitea.com/gitea/docs/pulls/479
Reviewed-by: silverwind <[email protected] >
2026-08-02 21:53:31 +00:00
Lunny Xiao
42a0f7f45f
Fix navbar links and hide runner's development ( #477 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/477
2026-08-01 19:49:44 +00:00
Lunny Xiao
a7e2060a6a
1.27.1 ( #476 )
...
1.27.1 (gitea/docs#476 )
Co-authored-by: Lunny Xiao <[email protected] >
2026-07-28 17:27:12 +00:00
Lunny Xiao
31c6782d0c
Add Cloudflare Pages cache headers for static assets ( gitea/docs#473 )
...
Co-authored-by: Lunny Xiao <[email protected] >
2026-07-27 20:30:17 +00:00
Lunny Xiao
02f6e1753a
update version 1.27.0 ( #464 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/464
Reviewed-by: Nicolas <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
2026-07-14 20:06:28 +00:00
965c269495
Update zh tw languages and fix some broken links ( #455 )
...
---------
Co-authored-by: silverwind <[email protected] >
Co-authored-by: silverwind <[email protected] >
Reviewed-on: https://gitea.com/gitea/docs/pulls/455
Reviewed-by: silverwind <[email protected] >
2026-07-09 23:41:46 +00:00
Lunny Xiao
6a3f75f060
sync customizing gitea ( #458 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/458
2026-07-08 04:58:43 +00:00
Lunny Xiao
1033f033bc
Add 1.27 rc0 documentation ( #453 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/453
Reviewed-by: Zettat123 <[email protected] >
2026-07-01 17:14:52 +00:00
Lunny Xiao
7fe73e351f
release to cloudflare as well ( #448 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/448
2026-06-28 03:29:01 +00:00
Lunny Xiao
c677b5da29
update 1.26.3 ( #442 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/442
Reviewed-by: Nicolas <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2026-06-21 07:50:31 +00:00
Lunny Xiao
21aad7f5d1
update 1.26.2 ( #424 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/424
Reviewed-by: Nicolas <[email protected] >
2026-05-20 21:59:25 +00:00
54af905d63
rename act runner to runner ( #390 )
...
Depends on gitea/runner#850
---------
Co-authored-by: Nicolas <[email protected] >
Co-authored-by: silverwind <[email protected] >
Reviewed-on: https://gitea.com/gitea/docs/pulls/390
Reviewed-by: techknowlogick <[email protected] >
Reviewed-by: silverwind <[email protected] >
Reviewed-by: Nicolas <[email protected] >
2026-05-07 17:18:58 +00:00
Lunny Xiao
14b76120b4
update webhook documentation ( #393 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/393
2026-05-01 16:40:27 +00:00
Lunny Xiao
49a6f7649a
update 1.26.1
2026-04-25 11:28:59 -07:00
Lunny Xiao
fd5cb8bb44
Follow blog to use blue color for links ( #385 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/385
Reviewed-by: silverwind <[email protected] >
2026-04-20 17:36:38 +00:00
Lunny Xiao
b5e28002f4
release 1.26.0 ( #384 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/384
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2026-04-19 00:46:51 +00:00
Lunny Xiao and silverwind
a7ab7af00f
Add v1.26 documentation ( #376 )
...
Co-authored-by: silverwind <[email protected] >
Reviewed-on: https://gitea.com/gitea/docs/pulls/376
Reviewed-by: silverwind <[email protected] >
2026-04-09 19:27:32 +00:00
Lunny Xiao
162127170b
upgrade to 1.25.5
2026-03-16 17:06:04 -07:00
Lunny Xiao
066080cf7b
Add documentation for ssh keys for http access ( #336 )
...
Fix #331
Reviewed-on: https://gitea.com/gitea/docs/pulls/336
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2026-02-08 21:05:42 +00:00
Lunny Xiao
feca0d2d17
Update to 1.25.4
2026-01-22 12:18:11 -08:00
Lunny Xiao
0b31573d47
upgrade 1.25.2 -> 1.25.3
2025-12-18 11:09:05 -08:00
Lunny Xiao
d4181abf75
Upgrade to 1.25.2 ( #306 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/306
2025-11-23 19:23:37 +00:00
Lunny Xiao
d3d546fa3b
Fix updating swagger failure caused by no content to change
2025-11-23 10:59:46 -08:00
Lunny Xiao
cd0347dc76
make update_api_docs.sh work for macOS
2025-11-23 10:53:03 -08:00
Lunny Xiao
826ff60fd4
Add missing translations ( #305 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/305
2025-11-23 07:13:19 +00:00
Lunny Xiao
2e86ec6898
Fix ci
2025-11-22 21:09:13 -08:00
Lunny Xiao
ce76fd3b2e
Fix ci
2025-11-22 21:04:31 -08:00
Lunny Xiao
4ddfcd6aaf
Remove outdated versions and keep the latest 5 versions(include the current developing version and latest 4 stable versions ( #304 )
...
Resolve #302
Reviewed-on: https://gitea.com/gitea/docs/pulls/304
Reviewed-by: delvh <[email protected] >
2025-11-22 05:36:55 +00:00
Lunny Xiao
df8b7a7581
Upgrade docusarus and fix broken links ( #301 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/301
2025-11-20 22:02:05 +00:00
Lunny Xiao
9baa98ec3f
Move usage directories ( #300 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/300
2025-11-20 19:49:24 +00:00
Lunny Xiao
c05b0cec34
Add protected branches usage documentation ( #298 )
...
Fix https://github.com/go-gitea/gitea/issues/35972
Reviewed-on: https://gitea.com/gitea/docs/pulls/298
2025-11-20 18:07:29 +00:00
Lunny Xiao
dcb9b9b450
Use category instead of place holder markdown file as directory ( #299 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/299
2025-11-20 18:02:34 +00:00
Lunny Xiao
7e8cd4df86
upgrade to 1.25.1
2025-11-04 13:21:39 -08:00
Lunny Xiao
7d50e32ba8
Add 1.25.0 documentation ( #289 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/289
2025-11-01 06:48:53 +00:00
Lunny Xiao
cf9b8dce28
uprade 1.24.7
2025-10-25 21:03:20 -07:00
Lunny Xiao
de6d4374b0
Upgrade to 1.24.6
2025-09-11 20:20:46 -07:00
Lunny Xiao
c699d12a55
upgrade to 1.24.5
2025-08-14 18:52:32 -07:00
Lunny Xiao
c13d82ccc3
Update gpg check command to use hkps by default ( #260 )
...
Fix #255
Reviewed-on: https://gitea.com/gitea/docs/pulls/260
2025-08-12 16:57:24 +00:00
Lunny Xiao
03c98878cf
upgrade to 1.24.4
2025-08-04 17:00:13 -07:00
Lunny Xiao
47594bba97
upgrade gitea to 1.24.3
2025-07-15 09:44:13 -07:00
Lunny Xiao
870f30e886
upgrade to 1.24.2
2025-06-21 10:13:34 -07:00
Lunny Xiao
33ec7a49df
upgrade to 1.24.1
2025-06-19 15:31:41 -07:00
Lunny Xiao
c8ebd4e896
Fix latest stable version
2025-06-10 15:46:23 -07:00
Lunny Xiao
e1ed1a6280
Upgrade Gitea from 1.23.7 -> 1.23.8
2025-05-13 09:51:20 -07:00
Lunny Xiao
6e63ddb901
Add 1.24.0-rc0 documentation ( #220 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/220
2025-05-05 16:47:20 +00:00
Lunny Xiao
1d51bc6814
Update token scopes example ( #215 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/215
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2025-04-26 04:27:13 +00:00
Lunny Xiao
eed3454a8a
Update token scopes example ( #214 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/214
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2025-04-26 04:21:26 +00:00
Lunny Xiao
ae186bfdcc
Update to 1.23.7
2025-04-07 15:41:45 -07:00
Lunny Xiao
abc5be48cc
Fix language selection
2025-04-04 18:45:25 -07:00
Lunny Xiao
ba60733fd9
upgrade to gitea 1.23.6
2025-03-24 14:53:49 -07:00
Lunny Xiao
41bc13f04f
Release of Gitea 1.23.5 ( #177 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/177
2025-03-05 01:28:46 +00:00
Lunny Xiao
045ad3fd8c
Add missing cron items content ( #174 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/174
2025-02-25 20:13:15 +00:00
Lunny Xiao
ed742f54da
Fix ci
2025-02-19 15:40:23 -08:00
Lunny Xiao
235e1199d8
Fix ci
2025-02-19 15:37:15 -08:00
Lunny Xiao
674911fecd
Fix ci
2025-02-19 11:56:34 -08:00
Lunny Xiao
bc2618cea3
Fix ci
2025-02-19 11:37:23 -08:00
Lunny Xiao
88ff15b0f5
Fix ci
2025-02-19 11:30:35 -08:00
Lunny Xiao
04b38c7f3a
Fix ci
2025-02-19 11:26:48 -08:00
Lunny Xiao
bb149ae308
upgrade to 1.23.4
2025-02-19 11:05:44 -08:00
Lunny Xiao
452b13ec63
upgrade to 1.23.3 ( #168 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/168
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2025-02-06 19:34:36 +00:00
Lunny Xiao
cea3a053b7
upgrade to 1.23.2 ( #166 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/166
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2025-02-05 21:50:46 +00:00
Lunny Xiao
bbbb9091bf
Update act runner status ( #163 )
...
Fix #162
Reviewed-on: https://gitea.com/gitea/docs/pulls/163
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2025-01-29 05:12:05 +00:00
Lunny Xiao
1ddf6a1822
upgrade to 1.23.1 ( #148 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/148
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2025-01-10 18:58:33 +00:00
Lunny Xiao
e691a131c1
Follow #75 to update all variables ( #135 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/135
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2024-12-27 00:58:11 +00:00
Lunny Xiao and kerwin612
433c930127
Introduce runner documentations ( #133 )
...
This PR introduces documentation for Runner.
<img width="959" alt="图片.png" src="attachments/5ad6a8af-d799-4718-9d33-56bf91a8852e">
Co-authored-by: kerwin612 <[email protected] >
Reviewed-on: https://gitea.com/gitea/docs/pulls/133
Reviewed-by: Bo-Yi Wu (吳柏毅) <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2024-12-26 23:44:25 +00:00
Lunny Xiao
2b9cc256ea
Remove compare with Gogs because of the Gogs development is almost stopped ( #124 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/124
Reviewed-by: Bo-Yi Wu (吳柏毅) <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2024-12-16 17:14:08 +00:00
Lunny Xiao
dc2b857cac
Upgrade to 1.22.6
2024-12-13 00:09:11 -08:00
Lunny Xiao
869fb8d4e5
Upgrade to 1.22.5
2024-12-11 13:05:31 -08:00
Lunny Xiao
3e404a348f
Upgrade to 1.22.4 ( #109 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/109
2024-11-26 04:38:25 +00:00
Lunny Xiao
1edaf07b36
Update comparasion because of merge queue has been implemented. ( #104 )
...
Since https://github.com/go-gitea/gitea/pull/9307 and https://github.com/go-gitea/gitea/pull/19648 , merge queue has been introduced.
Reviewed-on: https://gitea.com/gitea/docs/pulls/104
2024-11-25 21:10:09 +00:00
Lunny Xiao
fc7bdfc7b6
Improve the signing documentations ( #108 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/108
2024-11-25 05:36:44 +00:00
Lunny Xiao
ddc1db3637
Move authentication from usage to administration ( #105 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/105
2024-11-24 02:32:42 +00:00
Lunny Xiao
8d114d7c6b
Add license back following the content when it moved from main repository
2024-11-06 12:04:06 -08:00
Lunny Xiao
05271fd4e6
Update faq for actions to correct wrong documentations. ( #85 )
...
- [x] User-level runners are supported from 1.20
- [x] Actions are enabled by default from 1.21
Reviewed-on: https://gitea.com/gitea/docs/pulls/85
2024-10-28 18:04:52 +00:00
Lunny Xiao
5bfca46fd6
Merge branch 'main' into lunny/update_agit_forcepush
2024-10-22 06:42:24 +00:00
Lunny Xiao
5f07f6c79a
Update old versions
2024-10-11 00:06:36 -07:00
Lunny Xiao
6fc2decd0c
update agit forcepush
2024-10-11 00:02:19 -07:00
Lunny Xiao
610e9d0e1c
Disable docusarus cache
2024-10-09 11:36:02 -07:00
Lunny Xiao
16ae5821e7
Fix docuactions cache moved
2024-10-09 11:34:47 -07:00
Lunny Xiao
d2ff4a6117
more changes
2024-10-08 23:03:32 -07:00
Lunny Xiao
610b028ba9
upgrade to 1.22.3
2024-10-08 21:39:53 -07:00
Lunny Xiao
bea0fb7387
Use camo.Always instead of camo.Allways ( #73 )
...
ref: https://github.com/go-gitea/gitea/pull/32097
Reviewed-on: https://gitea.com/gitea/docs/pulls/73
2024-09-25 17:11:33 +00:00
Lunny Xiao
05a0760f6b
fix bug
2024-09-13 14:39:59 -07:00
Lunny Xiao
3ac151749b
fix bug
2024-09-13 14:25:00 -07:00
Lunny Xiao
98633d3b32
Use deploy token rather than deploy key
2024-09-13 12:03:35 -07:00
Lunny Xiao
c12effbaff
Improve update swagger workflow
2024-09-13 11:46:34 -07:00
Lunny Xiao
3ed7b49467
Improve update swagger workflow
2024-09-13 11:44:39 -07:00
Lunny Xiao
e67590e0e2
Fix bug
2024-09-13 10:40:37 -07:00
Lunny Xiao
b0efb07c3f
Fix bug when update swagger
2024-09-12 11:00:02 -07:00
Lunny Xiao
6564f98656
Merge branch 'main' into lunny/update_swagger
2024-09-11 06:35:27 +00:00
Lunny Xiao
75bb2f36ff
make act runner documentation more easy to use ( #64 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/64
Co-authored-by: Lunny Xiao <[email protected] >
Co-committed-by: Lunny Xiao <[email protected] >
2024-09-07 19:40:47 +00:00
Lunny Xiao
1257064c05
Improve agit usage ( #63 )
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/63
2024-09-06 19:46:32 +00:00
Lunny Xiao
e84a95f4da
Update swagger files on schedule
2024-09-05 23:57:00 -07:00
Lunny Xiao
96da2d0d34
Upgrade 1.22.1 -> 1.22.2
2024-09-05 18:47:25 -07:00
Lunny Xiao
bdacdf6594
Merge pull request 'Adjust sequences of actions and packages articles in the sidebar' ( #61 ) from lunny/adjust_sequence into main
...
Reviewed-on: https://gitea.com/gitea/docs/pulls/61
2024-09-03 04:25:51 +00:00