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
2 changed files with 5 additions and 5 deletions
+3 -3
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",
+2 -2
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/' },
])