Source

pip-windows / regen-docs

Full commit
1
2
3
4
5
6
7
8
9
#!/bin/sh

mkdir -p docs/_static docs/_build
sphinx-build -E -b html docs/ docs/_build || exit 1
if [ "$1" = "publish" ] ; then
  cd docs/_build
  echo "Uploading files..."
  tar czvf - . | ssh flow.openplans.org 'ssh acura.openplans.org "cd /www/pip.openplans.org/; tar xzvf -"'
fi