From 1af4f4998f8484863be9b62874d62cd31fc84cd1 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 10 Sep 2021 13:24:01 +0200 Subject: [PATCH] docs: update to v0.44 version tag (#10069) (#10097) (cherry picked from commit d6c30175d95f242aaa0f87857646651935653e4e) # Conflicts: # docs/.vuepress/enhanceApp.js Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com> --- docs/.vuepress/config.js | 4 ++-- docs/.vuepress/enhanceApp.js | 8 ++++++++ docs/versions | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 docs/.vuepress/enhanceApp.js diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 223d2d91aa8b..e02f734a8e9c 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -47,8 +47,8 @@ module.exports = { "key": "v0.42" }, { - "label": "v0.43", - "key": "v0.43" + "label": "v0.44", + "key": "v0.44" }, { "label": "master", diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js new file mode 100644 index 000000000000..36cee6366fc8 --- /dev/null +++ b/docs/.vuepress/enhanceApp.js @@ -0,0 +1,8 @@ +export default ({ router }) => { + router.addRoutes([ + { path: '/master/spec/*', redirect: '/master/modules/' }, + { path: '/master/spec/governance/', redirect: '/master/modules/gov/' }, + { path: '/v0.41/', redirect: '/v0.42/' }, + { path: '/v0.43/', redirect: '/v0.44/' }, + ]) +} diff --git a/docs/versions b/docs/versions index d01230080817..aec06db250e3 100644 --- a/docs/versions +++ b/docs/versions @@ -1,4 +1,4 @@ master master launchpad/backports v0.39 release/v0.42.x v0.42 -release/v0.43.x v0.43 +release/v0.44.x v0.44