Commit 5ef2500
committed
refactor(templates): update comment syntax to use Jinja2 style
Change comment syntax in template files from `# ##` to `# {# ... #}` to align with Jinja2 templating engine. This improves consistency and avoids potential conflicts with Copier configuration.
The new syntax:
1. Uses Jinja-native comment format for better IDE recognition
2. Maintains file type indicators for syntax highlighting
3. Adds proper Jinja comment termination with `-#}` where needed
4. Removes ambiguous `##` prefix that could conflict with other tools
Affected files:
- copier.yaml
- template/.config/copier/{{ _copier_conf.answers_file }}.jinja
- template/.readthedocs.yaml.jinja
- template/mkdocs.yaml.jinja
- template/pyproject.toml.jinja1 parent f0eca01 commit 5ef2500
6 files changed
Lines changed: 7 additions & 5 deletions
File tree
- template
- .config/copier
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments