Skip to content

Commit

Permalink
chore: update vuepress config to reflect new default branch naming (#…
Browse files Browse the repository at this point in the history
…11769) (#11771)

(cherry picked from commit 8ef5417)

Co-authored-by: Damian Nolan <[email protected]>
  • Loading branch information
mergify[bot] and damiannolan authored Apr 26, 2022
1 parent ad9e562 commit c405df4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module.exports = {
"key": "v0.45"
},
{
"label": "master",
"key": "master"
"label": "main",
"key": "main"
}
],
topbar: {
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
@@ -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/' },
])
Expand Down

0 comments on commit c405df4

Please sign in to comment.