summaryrefslogtreecommitdiff
path: root/regen-docs
diff options
context:
space:
mode:
authorianb <devnull@localhost>2008-05-29 00:13:58 +0000
committerianb <devnull@localhost>2008-05-29 00:13:58 +0000
commitf77c349b32d3a2e75aa157cf10f966da9b1d0ee1 (patch)
tree48f09623158d21ea0dd8cc0442e3894da88be653 /regen-docs
parentfb501c884cfb46bbfef412ad309f48a6cc99ebc4 (diff)
downloadpastedeploy-f77c349b32d3a2e75aa157cf10f966da9b1d0ee1.tar.gz
sphinx-ify
Diffstat (limited to 'regen-docs')
-rwxr-xr-xregen-docs9
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