Add initial static-doc to master for proper versioning

This commit is contained in:
Griatch 2020-06-12 22:01:38 +02:00
parent 935c2c6eff
commit f7bde74360
290 changed files with 32391 additions and 0 deletions

26
docs/deploy.sh Normal file
View file

@ -0,0 +1,26 @@
#
# deploy to github
#
# This copies the recently built files from build/html into the github-gh branch. Note that
# it's important that build/ must not be committed to git!
#
if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
echo "There are uncommitted changes. Make sure to commit everything in your current branch first."
exit 1
fi
git checkout gh-pages
rm -Rf versions
mv build/html/versions .
git add versions
git commit -a -m "Updated HTML docs"
git push origin gh-pages
# get back to previous branch
git checkout -
echo "Deployed to https://evennia.github.io/evennia-docs."