pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/commitizen-tools/commitizen/commit/241faad85f6ebbdfc65b724da14ed6103293394d

ymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-5efd63e783ac04bb.css" /> style(CHANGELOG.md): rename the default template as `CHANGELOG.md.j2` · commitizen-tools/commitizen@241faad · GitHub
Skip to content

Commit 241faad

Browse files
noirbizarreLee-W
authored andcommitted
style(CHANGELOG.md): rename the default template as CHANGELOG.md.j2
1 parent 3adc171 commit 241faad

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

commitizen/changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
if TYPE_CHECKING:
5757
from commitizen.version_schemes import VersionScheme
5858

59-
DEFAULT_TEMPLATE = "keep_a_changelog_template.j2"
59+
DEFAULT_TEMPLATE = "CHANGELOG.md.j2"
6060

6161

6262
def get_commit_tag(commit: GitCommit, tags: list[GitTag]) -> GitTag | None:
File renamed without changes.

docs/customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,15 +442,15 @@ Commitizen gives you the possibility to provide your own changelog template, by:
442442
- as `--template` parameter to both `bump` and `changelog` commands
443443
- either by providing a template with the same name as the default template
444444

445-
By default, the template used is the `keep_a_changelog_template.j2` file from the commitizen repository.
445+
By default, the template used is the `CHANGELOG.md.j2` file from the commitizen repository.
446446

447447
### Providing a template with your customization class
448448

449449
There is 3 parameters available to change the template rendering from your custom `BaseCommitizen`.
450450

451451
| Parameter | Type | Default | Description |
452452
| ----------------- | ------ | ------- | ----------------------------------------------------------------------------------------------------- |
453-
| `template` | `str` | `None` | Provide your own template name (default to `keep_a_changelog_template.j2`) |
453+
| `template` | `str` | `None` | Provide your own template name (default to `CHANGELOG.md.j2`) |
454454
| `template_loader` | `str` | `None` | Override the default template loader (so you can provide template from you customization class) |
455455
| `template_extras` | `dict` | `None` | Provide some extra template parameters |
456456

@@ -477,7 +477,7 @@ This snippet will:
477477

478478
Users can provides their own template from their current working directory (your project root) by:
479479

480-
- providing a template with the same name (`keep_a_changelog_template.j2` unless overridden by your custom class)
480+
- providing a template with the same name (`CHANGELOG.md.j2` unless overridden by your custom class)
481481
- setting your template path as `template` configuration
482482
- giving your template path as `--template` parameter to `bump` and `changelog` commands
483483

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy