X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2Fpublish-docs;h=77c93369b36612f46f76fd43c8570c996c82184a;hp=6e527732ab50658c2e07423477ef2b8f7c5b4593;hb=91b93d9d010f6d34943a0e4aeffd3c9f0ee2879c;hpb=d15f85bc0e619e222f849804eec6c30e7c762c90 diff --git a/project_template/publish-docs b/project_template/publish-docs index 6e52773..77c9336 100755 --- a/project_template/publish-docs +++ b/project_template/publish-docs @@ -1,8 +1,8 @@ #! /bin/sh -web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/project/docs +web="`git config --get --path htdocs.path`" && cd "`dirname \"$0\"`"/docs/_build/html && -rsync -ahP --del * --exclude=objects.inv "$web" && +rsync -ahP --del * --exclude=/objects.inv "$web" && exec chmod -R u=rwX,go=rX "$web"