Create .nojekyll automatically.

This commit is contained in:
Pouria Hadjibagheri 2017-04-25 14:56:26 +01:00
parent 5f8b4f56e9
commit aee683904d

View file

@ -193,7 +193,7 @@ mv ./docs/html/* ./docs/
URL="docs/index.html"
echo "Documentations index file: $URL"
"" >> ./docs/.nojekyll
[[ -x $BROWSER ]] && exec "$BROWSER" "$URL"
path=$(which xdg-open || which gnome-open || which open) && exec "$path" "$URL"
echo "Built the docs - but couldn't find a browser to open them."