X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2Fpublish-docs;fp=project_template%2Fpublish-docs;h=6e527732ab50658c2e07423477ef2b8f7c5b4593;hp=0000000000000000000000000000000000000000;hb=d15f85bc0e619e222f849804eec6c30e7c762c90;hpb=f3a77fb183a5d87ad6118547ec76632af59d36a7 diff --git a/project_template/publish-docs b/project_template/publish-docs new file mode 100755 index 0000000..6e52773 --- /dev/null +++ b/project_template/publish-docs @@ -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"