Runner docs v1.0.8 (#435)

Adds a versioned docs snapshot for Gitea Runner v1.0.8 (latest stable),
updates lastVersion and navbar to point to the new version while keeping
0.2.11 in the dropdown for historical reference.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/docs/pulls/435
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Nicolas <bircni@icloud.com>
Co-committed-by: Nicolas <bircni@icloud.com>
This commit is contained in:
Nicolas
2026-06-14 00:30:30 +00:00
committed by Lunny Xiao
parent 7737ef98a4
commit eb65e671a2
5 changed files with 466 additions and 6 deletions

View File

@@ -185,12 +185,16 @@ const config = {
label: "main",
banner: "unreleased",
},
"1.0.8": {
path: "1.0.8",
label: "1.0.8",
},
"0.2.11": {
path: "0.2.11",
label: "0.2.11",
},
},
lastVersion: "0.2.11",
lastVersion: "1.0.8",
editUrl: ({
versionDocsDirPath,
docPath,
@@ -382,10 +386,10 @@ const config = {
activeBaseRegex: "api/(1.22|1.23|1.24|1.25|1.26|next)/",
},
{
to: "/runner/0.2.11/",
to: "/runner/1.0.8/",
label: "Runner",
position: "left",
activeBaseRegex: "runner/(0.2.11|next)/",
activeBaseRegex: "runner/(1.0.8|0.2.11|next)/",
},
{
position: "left",
@@ -428,6 +432,7 @@ const config = {
position: "right",
items: [
{ to: "/runner/next/", label: "development" },
{ to: "/runner/1.0.8/", label: "1.0.8" },
{ to: "/runner/0.2.11/", label: "0.2.11" },
],
routerRgx: "/runner/",