How to exclude .jinja files #1992
liborjelinek
started this conversation in
General
Replies: 1 comment 4 replies
-
You could use a different suffix for the Copier templates (like |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a template in the
template/
folder. The generated project needs to contain.jinja
files, but they are not Copier templates, as the Copier thinks.I have the following structure:
How do I properly tell the Copier to just copy
template/src/{{ project_slug }}/static/*.jinja
files, not interpret them? (The files are Sphinx theme static files.)In my
copier.yaml
, I tried almost everything under_exclude
, but*.jinja
undertemplate/src/{{ project_slug }}/static
are still recognized by Copier as its templates (and Copier crash, because they are not)...Beta Was this translation helpful? Give feedback.
All reactions