From dbd19869108d4bd6cbcfef6d31b3c62c7b93caf6 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 8 May 2023 22:32:15 +0800 Subject: [PATCH] upgrade to 1.19.3 --- docusaurus.config.js | 2 +- loop_docs-19.sh | 4 ++-- loop_docs.sh | 2 +- sidebars.js | 10 ++++++++++ 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 0e5a5a73..a6e95d10 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -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' } }, }, diff --git a/loop_docs-19.sh b/loop_docs-19.sh index 9605da73..7652c877 100644 --- a/loop_docs-19.sh +++ b/loop_docs-19.sh @@ -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 diff --git a/loop_docs.sh b/loop_docs.sh index d8df6e4a..c3c6e0a5 100644 --- a/loop_docs.sh +++ b/loop_docs.sh @@ -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 diff --git a/sidebars.js b/sidebars.js index bdc0dd0f..7e463573 100644 --- a/sidebars.js +++ b/sidebars.js @@ -29,6 +29,16 @@ module.exports = { type: 'category', label: 'Usage', items: [ + { + type: 'category', + label: 'Actions', + items: [ + { + type: 'autogenerated', + dirName: 'actions', + } + ] + }, { type: 'category', label: 'Packages',