diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index aa7946b7..f450d346 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: https://github.com/actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - name: install necessary tools run: | apt update -y && apt install -y rsync python python3-pip diff --git a/docusaurus.config.js b/docusaurus.config.js index 6faf6336..41117386 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -93,14 +93,13 @@ const config = { banner: 'unreleased', }, '1.20': { - label: '1.20.0-rc2', - banner: 'none', + label: '1.20.0' }, '1.19': { label: '1.19.4', } }, - lastVersion: '1.19', + lastVersion: '1.20', async sidebarItemsGenerator({defaultSidebarItemsGenerator, ...args}) { const {item} = args; // Use the provided data to generate a custom sidebar slice @@ -163,7 +162,7 @@ const config = { label: 'Docs', }, { - to: '/api/1.19/', + to: '/api/1.20/', label: 'API', position: 'left', activeBaseRegex: 'api/(1.19|1.20|next)/', @@ -181,7 +180,7 @@ const config = { position: 'right', items: [ {to: '/api/next/', label: '1.21-dev' }, - {to: '/api/1.20/', label: '1.20.0-rc2' }, + {to: '/api/1.20/', label: '1.20.0' }, {to: '/api/1.19/', label: '1.19.4' }, ], }, @@ -211,7 +210,7 @@ const config = { }, { href: 'https://gitea.com/user/login', - label: 'Sign In', + label: 'Sign In', position: 'right', className: 'internal-href signin-button', target: '_self', diff --git a/loop_docs.sh b/loop_docs.sh index 8f557362..68d4ec7a 100755 --- a/loop_docs.sh +++ b/loop_docs.sh @@ -27,7 +27,7 @@ if [ "$version" == "1.19" ]; then minorVer="1.19.4" minGoVer="1.19" elif [ "$version" == "1.20" ]; then - minorVer="1.20.0-rc2" + minorVer="1.20.0" fi docs_dir="versioned_docs/version-$version"