From d1b4c005b7f4b2209bdd9cb3431270b04d0b922b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 29 Apr 2017 06:28:09 +0300 Subject: [PATCH 1/1] Exclude publish-docs --- cookiecutter | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cookiecutter b/cookiecutter index 13073a3..c23664c 100755 --- a/cookiecutter +++ b/cookiecutter @@ -21,9 +21,11 @@ replace '{project}' "$project_name" .gitignore README.txt \ sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \ -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs && -git init && git add . && +git init && +echo /publish-docs >>.git/info/exclude && +echo /update-remotes >>.git/info/exclude && +git add . && git commit --message "Initial commit - created the project" && git config htdocs.path "$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/"$project_name"/docs && cp -p "$HOME"/current/projects/m_lib/update-remotes . && -echo /update-remotes >>.git/info/exclude && exec ./mk-git-aliases -- 2.39.2