kombu/contrib/doc2ghpages

14 lines
278 B
Plaintext
Raw Normal View History

2010-06-23 10:08:39 +00:00
#!/bin/bash
git checkout master
(cd docs;
rm -rf .build;
make html;
(cd .build/html;
sphinx-to-github;))
git checkout gh-pages
cp -r docs/.build/html/* .
git commit . -m "Autogenerated documentation for github."
git push origin gh-pages
git checkout master