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