X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=cookiecutter;h=13073a338e4e7801035b7a90478f96769054eccd;hp=5973f10a79c518cf93b65bc8b2c9c46e4243c917;hb=2fef08d7f9832ef189edc11e4f67b7c817d4558e;hpb=77a81b6bc40d9349b5236e59bf261a67482e5fa0 diff --git a/cookiecutter b/cookiecutter index 5973f10..13073a3 100755 --- a/cookiecutter +++ b/cookiecutter @@ -14,11 +14,16 @@ cp -ap project_template "$HOME/tmp/$project_name" && cd "$HOME/tmp/$project_name" && mv project "$project_name" && -replace '{project}' "$project_name" README.txt docs/genapidocs mk-distr \ - publish-docs setup.py tox.ini && +replace '{project}' "$project_name" .gitignore README.txt \ + devscripts/README.html docs/genapidocs docs/install.rst \ + mk-distr publish-docs setup.py tox.ini && sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \ -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs && git init && git add . && -exec git commit --message "Initial commit - created the project" +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