# do the documentation generation cycle
#
# Copyright 2015, B.H.J Thate

rm -fR docs/api/*
cp README docs/README.rst
cp LICENSE docs/LICENSE.rst
sphinx-apidoc -f -e -o docs/api bard bard/contrib
sphinx-build docs docs/html
cd docs/html
zip -r bard.doc.zip * 
mv bard.doc.zip ../..
