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