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

This commit is contained in:
Damian Nolan 2022-04-26 13:24:13 +02:00 committed by GitHub
parent 8791e86cda
commit 8ef5417845
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" "key": "v0.45"
}, },
{ {
"label": "master", "label": "main",
"key": "master" "key": "main"
} }
], ],
topbar: { topbar: {
@ -185,7 +185,7 @@ module.exports = {
{ {
title: "Contributing to the docs", title: "Contributing to the docs",
url: 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", title: "Source code on GitHub",

View File

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