mirror of
https://github.com/orhun/git-cliff.git
synced 2024-12-02 01:53:45 +03:00
chore(example): remove limited commits example
This commit is contained in:
parent
327512a9d5
commit
8e1e0d73c3
@ -1,22 +0,0 @@
|
||||
# git-cliff ~ configuration file
|
||||
# https://git-cliff.org/docs/configuration
|
||||
|
||||
[changelog]
|
||||
# template for the changelog body
|
||||
# https://keats.github.io/tera/docs/#introduction
|
||||
body = """
|
||||
{% if version %}\
|
||||
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}\
|
||||
{% else %}\
|
||||
## [unreleased]\
|
||||
{% endif %}\
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | upper_first }}
|
||||
{% for commit in commits %}\
|
||||
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}
|
||||
{% endfor %}\
|
||||
{% endfor %}\n
|
||||
"""
|
||||
|
||||
[git]
|
||||
limit_commits = 3
|
@ -269,42 +269,6 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
</details>
|
||||
|
||||
#### [Limited Commits](https://github.com/orhun/git-cliff/tree/main/examples/limitedcommits.toml)
|
||||
|
||||
<details>
|
||||
<summary>Raw Output</summary>
|
||||
|
||||
```
|
||||
## [unreleased]
|
||||
### Feat
|
||||
- Support multiple file formats
|
||||
- Use cache while fetching pages
|
||||
|
||||
## [1.0.1] - 2021-07-18
|
||||
### Chore
|
||||
- Add release script
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Rendered Output</summary>
|
||||
|
||||
## [unreleased]
|
||||
|
||||
### Feat
|
||||
|
||||
- Support multiple file formats
|
||||
- Use cache while fetching pages
|
||||
|
||||
## [1.0.1] - 2021-07-18
|
||||
|
||||
### Chore
|
||||
|
||||
- Add release script
|
||||
|
||||
</details>
|
||||
|
||||
#### [Detailed](https://github.com/orhun/git-cliff/tree/main/examples/detailed.toml)
|
||||
|
||||
<details>
|
||||
|
@ -31,7 +31,6 @@ Here are the list of available templates:
|
||||
|
||||
- [`keepachangelog.toml`](https://github.com/orhun/git-cliff/tree/main/examples/keepachangelog.toml)
|
||||
- [`detailed.toml`](https://github.com/orhun/git-cliff/tree/main/examples/detailed.toml)
|
||||
- [`limitedcommits.toml`](https://github.com/orhun/git-cliff/tree/main/examples/limitedcommits.toml)
|
||||
- [`minimal.toml`](https://github.com/orhun/git-cliff/tree/main/examples/minimal.toml)
|
||||
- [`scoped.toml`](https://github.com/orhun/git-cliff/tree/main/examples/scoped.toml)
|
||||
- [`scopesorted.toml`](https://github.com/orhun/git-cliff/tree/main/examples/scopesorted.toml)
|
||||
|
Loading…
Reference in New Issue
Block a user