upgrade to 1.19.3

This commit is contained in:
Lunny Xiao
2023-05-08 22:32:15 +08:00
parent 5c2862c69c
commit dbd1986910
4 changed files with 14 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ const config = {
label: '1.20-dev', // path is kept as next for dev (so users can always find "nightly" docs)
},
1.19 : {
label: '1.19.2'
label: '1.19.3'
}
},
},

View File

@@ -14,12 +14,12 @@ $SED_INPLACE 's/^title:.*/displayed_sidebar: defaultSidebar/' versioned_docs/ver
$SED_INPLACE 's/^slug:.*/slug: \//' versioned_docs/version-1.19/intro.md
$SED_INPLACE 's/.\/guidelines-frontend.md/.\/guidelines-frontend/' versioned_docs/version-1.19/development/hacking-on-gitea.en-us.md
$SED_INPLACE 's/"version":.*/"version":"1.19.2"/' static/19-swagger.json
$SED_INPLACE 's/"version":.*/"version":"1.19.3"/' static/19-swagger.json
for file in `find ./versioned_docs/version-1.19/ -name "*.md"`; do
# hide hugo toc
$SED_INPLACE 's/{{< toc >}}//' $file
$SED_INPLACE 's/{{< version >}}/1.19.2/g' $file
$SED_INPLACE 's/{{< version >}}/1.19.3/g' $file
$SED_INPLACE 's/{{< relref "doc/\/docs/g' $file
$SED_INPLACE 's/" >}}//g' $file
$SED_INPLACE 's/\*\*Table of Contents\*\*//' $file

View File

@@ -22,7 +22,7 @@ $SED_INPLACE 's/"version":.*/"version":"1.20-dev"/' static/latest-swagger.json
for file in `find ./docs/ -name "*.md"`; do
# hide hugo toc
$SED_INPLACE 's/{{< toc >}}//' $file
$SED_INPLACE 's/{{< version >}}/1.19.2/g' $file
$SED_INPLACE 's/{{< version >}}/1.19.3/g' $file
$SED_INPLACE 's/{{< relref "doc/\/docs/g' $file
$SED_INPLACE 's/" >}}//g' $file
$SED_INPLACE 's/\*\*Table of Contents\*\*//' $file

View File

@@ -29,6 +29,16 @@ module.exports = {
type: 'category',
label: 'Usage',
items: [
{
type: 'category',
label: 'Actions',
items: [
{
type: 'autogenerated',
dirName: 'actions',
}
]
},
{
type: 'category',
label: 'Packages',