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:
@@ -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
@@ -1,3 +1,3 @@
|
||||
main main
|
||||
release/v0.44.x v0.44
|
||||
release/v0.45.x v0.45
|
||||
main main
|
||||
|
||||
Reference in New Issue
Block a user