summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorianb <devnull@localhost>2008-05-20 21:16:04 +0000
committerianb <devnull@localhost>2008-05-20 21:16:04 +0000
commitef7c20c2bc7a3f47304aa260eedc39b9bbaac59d (patch)
tree6a298777929c3545dcccd6bfacdc777c904c4326
parent28a4e102f15680300bd25b311d51e13beeb940de (diff)
downloadpaste-ef7c20c2bc7a3f47304aa260eedc39b9bbaac59d.tar.gz
update version in conf.py, add generation/upload script
-rw-r--r--docs/conf.py4
-rwxr-xr-xregen-docs9
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index ec13d7f..3e15f7f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -40,9 +40,9 @@ copyright = '2008, Ian Bicking'
# other places throughout the built documents.
#
# The short X.Y version.
-version = '1.6'
+version = '1.7'
# The full version, including alpha/beta/rc tags.
-release = '1.6.1'
+release = '1.7'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
diff --git a/regen-docs b/regen-docs
new file mode 100755
index 0000000..c98763d
--- /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/
+fi