diff --git a/Makefile b/Makefile index 384cbf7b2b..cc73a26b79 100644 --- a/Makefile +++ b/Makefile @@ -202,6 +202,7 @@ build-docs: mkdir -p ~/output/$${path_prefix} ; \ cp -r .vuepress/dist/* ~/output/$${path_prefix}/ ; \ cp ~/output/$${path_prefix}/index.html ~/output ; \ + cp ~/output/$${path_prefix}/404.html ~/output ; \ done < versions ; @echo $(DOCS_DOMAIN) > ~/output/CNAME diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js index 52c90507a8..24b87e8006 100644 --- a/docs/.vuepress/enhanceApp.js +++ b/docs/.vuepress/enhanceApp.js @@ -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/' }, ]) } diff --git a/docs/versions b/docs/versions index ff500eb55c..aed0c21b40 100644 --- a/docs/versions +++ b/docs/versions @@ -1,3 +1,3 @@ -main main release/v0.44.x v0.44 release/v0.45.x v0.45 +main main