set a redirect from book/ to book/en/

closes #148
This commit is contained in:
Jorge Aparicio 2019-02-14 21:46:17 +01:00
parent c37f414a83
commit 92fd6bf856
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ main() {
local td=$(mktemp -d)
cp -r target/doc $td/api
mkdir $td/book/
cp redirect.html $td/book/index.html
for lang in ${langs[@]}; do
( cd book/$lang && mdbook build )
cp -r book/$lang/book $td/book/$lang

1
redirect.html Normal file
View file

@ -0,0 +1 @@
<meta http-equiv="refresh" content="0; URL='https://japaric.github.io/cortex-m-rtfm/book/en/'" />