docs: Fix master to main redirect (#11782)

* Fix master to main redirect

* copy 404.html to root

* use main as default branch

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
lg
2022-04-26 22:55:51 +02:00
committed by GitHub
co-authored by Julien Robert
parent e8479a39bf
commit 1d8a878728
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -4,5 +4,6 @@ export default ({ router }) => {
{ path: '/main/spec/governance/', redirect: '/main/modules/gov/' },
{ path: '/v0.41/', redirect: '/v0.42/' },
{ path: '/v0.43/', redirect: '/v0.44/' },
{ path: '/master/', redirect: '/main/' },
])
}
+1 -1
View File
@@ -1,3 +1,3 @@
main main
release/v0.44.x v0.44
release/v0.45.x v0.45
main main