chore: update vuepress config to reflect new default branch naming (#11769) (#11771)

(cherry picked from commit 8ef5417845)

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
This commit is contained in:
mergify[bot] 2022-04-26 15:13:37 +02:00 committed by GitHub
parent ad9e5620fb
commit c405df4567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -47,8 +47,8 @@ module.exports = {
"key": "v0.45"
},
{
"label": "master",
"key": "master"
"label": "main",
"key": "main"
}
],
topbar: {
@ -185,7 +185,7 @@ module.exports = {
{
title: "Contributing to the docs",
url:
"https://github.com/cosmos/cosmos-sdk/blob/master/docs/DOCS_README.md"
"https://github.com/cosmos/cosmos-sdk/blob/main/docs/DOCS_README.md"
},
{
title: "Source code on GitHub",

View File

@ -1,7 +1,7 @@
export default ({ router }) => {
router.addRoutes([
{ path: '/master/spec/*', redirect: '/master/modules/' },
{ path: '/master/spec/governance/', redirect: '/master/modules/gov/' },
{ path: '/main/spec/*', redirect: '/main/modules/' },
{ path: '/main/spec/governance/', redirect: '/main/modules/gov/' },
{ path: '/v0.41/', redirect: '/v0.42/' },
{ path: '/v0.43/', redirect: '/v0.44/' },
])