X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2Fpublish-docs;h=77c93369b36612f46f76fd43c8570c996c82184a;hp=bca408317c544579314ee5bafc26b3d951eec391;hb=91b93d9d010f6d34943a0e4aeffd3c9f0ee2879c;hpb=77a81b6bc40d9349b5236e59bf261a67482e5fa0 diff --git a/project_template/publish-docs b/project_template/publish-docs index bca4083..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"