Source

WebTest / regen-docs

Full commit
#!/bin/sh

export PATH=$PWD/bin:$PATH
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/webtest/
fi