From fe2266d71bf8bca7e01fa16c69425ea648fa43da Mon Sep 17 00:00:00 2001 From: Ryusei Nishide Date: Fri, 7 Aug 2026 14:41:20 +0900 Subject: [PATCH] fix: exclude template-repo-only files from generated projects docs/, README-ja.md, CLAUDE.md, and .claude/ belong to the template repository itself and were leaking into generated projects. Add them to copier's _exclude list. Note: the plain README.md and .gitignore cannot be excluded because _exclude patterns match paths after the .jinja suffix is stripped, so excluding them would also drop the rendered README.md.jinja / .gitignore.jinja outputs. Co-Authored-By: Claude Fable 5 --- copier.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/copier.yml b/copier.yml index a1b0864..0741f88 100755 --- a/copier.yml +++ b/copier.yml @@ -203,6 +203,10 @@ _exclude: - ".pre-commit-config.yaml" - "CONTRIBUTING.md" - "LICENSE" + - "docs" + - "README-ja.md" + - "CLAUDE.md" + - ".claude" # ============================================================================ # Post-generation tasks