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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a template in the
template/folder. The generated project needs to contain.jinjafiles, 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/*.jinjafiles, not interpret them? (The files are Sphinx theme static files.)In my
copier.yaml, I tried almost everything under_exclude, but*.jinjaundertemplate/src/{{ project_slug }}/staticare still recognized by Copier as its templates (and Copier crash, because they are not)...Beta Was this translation helpful? Give feedback.
All reactions