blob: c98763d06b90c4a15172d6c7e8170f86bd59cf8c [file] [log] [blame]
#!/bin/sh
mkdir -p docs/_static docs/_build
sphinx-build -E -b html docs/ docs/_build || exit 1
if [ "$1" = "publish" ] ; then
cd docs/
echo "Uploading files..."
scp -r _build/* ianb@webwareforpython.org:/home/paste/htdocs/
fi