mirror of https://github.com/vapor/docs.git
21 lines
292 B
Bash
Executable File
21 lines
292 B
Bash
Executable File
cd 2.0;
|
|
mkdocs build;
|
|
cd ..;
|
|
|
|
cd 3.0;
|
|
mkdocs build;
|
|
cd ..;
|
|
|
|
cd 1.5;
|
|
couscous generate;
|
|
cd ..;
|
|
|
|
rm -rf build
|
|
mkdir -p build;
|
|
|
|
mv 2.0/site build/2.0;
|
|
mv 3.0/site build/3.0;
|
|
mv 1.5/.couscous/generated build/1.5;
|
|
|
|
echo "<meta http-equiv=\"refresh\" content=\"0; url=/2.0/\">" > build/index.html;
|