regen-docs 234 B

123456789
  1. #!/bin/sh
  2. mkdir -p docs/_static docs/_build
  3. sphinx-build -E -b html docs/ docs/_build || exit 1
  4. if [ "$1" = "publish" ] ; then
  5. cd docs/
  6. echo "Uploading files..."
  7. scp -r _build/* ianb@webwareforpython.org:/home/paste/htdocs/
  8. fi