]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/publish-docs
Update: makefiles, sphinx docs, tests
[cookiecutter.git] / project_template / publish-docs
diff --git a/project_template/publish-docs b/project_template/publish-docs
new file mode 100755 (executable)
index 0000000..6e52773
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/project/docs
+
+cd "`dirname \"$0\"`"/docs/_build/html &&
+rsync -ahP --del * --exclude=objects.inv "$web" &&
+
+exec chmod -R u=rwX,go=rX "$web"