diff options
author | ianb <devnull@localhost> | 2008-05-29 00:13:58 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2008-05-29 00:13:58 +0000 |
commit | f77c349b32d3a2e75aa157cf10f966da9b1d0ee1 (patch) | |
tree | 48f09623158d21ea0dd8cc0442e3894da88be653 /regen-docs | |
parent | fb501c884cfb46bbfef412ad309f48a6cc99ebc4 (diff) | |
download | pastedeploy-f77c349b32d3a2e75aa157cf10f966da9b1d0ee1.tar.gz |
sphinx-ify
Diffstat (limited to 'regen-docs')
-rwxr-xr-x | regen-docs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/regen-docs b/regen-docs new file mode 100755 index 0000000..f8dad75 --- /dev/null +++ b/regen-docs @@ -0,0 +1,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/ + echo "Uploading files..." + scp -r _build/* ianb@webwareforpython.org:/home/paste/htdocs/deploy/ +fi |