Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
14 lines (13 sloc)
356 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
python setup.py gen docs | |
rm -rf /tmp/docs | |
mv docs/ /tmp/docs | |
git checkout gh-pages | |
# there's probably better ways but we know none has spaces | |
rm -rf $(ls /tmp/docs) | |
mv /tmp/docs/* . | |
git add constructors/ types/ methods/ index.html js/search.js css/ img/ | |
git commit --amend -m "Update documentation" | |
git push --force | |
git checkout master |