summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/license.txt5
-rwxr-xr-xregen-docs4
2 files changed, 6 insertions, 3 deletions
diff --git a/docs/license.txt b/docs/license.txt
index bb92c4f3c..60fc5dfac 100644
--- a/docs/license.txt
+++ b/docs/license.txt
@@ -1,4 +1,7 @@
-Copyright (c) 2009 Ian Bicking and Contributors
+License
+=======
+
+Copyright (c) 2010 Ian Bicking and Contributors
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/regen-docs b/regen-docs
index 55dbb855c..08d7d160d 100755
--- a/regen-docs
+++ b/regen-docs
@@ -9,8 +9,8 @@ fi
mkdir -p docs/_static docs/_build
sphinx-build -E -b html docs/ docs/_build || exit 1
if [ "$CMD" = "publish" ] ; then
- cd docs/
+ cd docs/_build/
echo "Uploading files..."
- scp -r _build/ root@cloudsilverlining.org:/var/lib/silverlining/writable-roots/bbdocs/pip.openplans.org/
+ scp -r * root@cloudsilverlining.org:/var/lib/silverlining/writable-roots/bbdocs/pip.openplans.org/
ssh root@cloudsilverlining.org 'chown -R www-data:www-data /var/lib/silverlining/writable-roots/bbdocs/'
fi