From 8e1e0d73c3bb7a0294bc20c01a0a6800ebbfbb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Wed, 20 Dec 2023 18:43:31 +0300 Subject: [PATCH] chore(example): remove limited commits example --- examples/limitedcommits.toml | 22 ------------------ website/docs/templating/examples.md | 36 ----------------------------- website/docs/usage/initializing.md | 1 - 3 files changed, 59 deletions(-) delete mode 100644 examples/limitedcommits.toml diff --git a/examples/limitedcommits.toml b/examples/limitedcommits.toml deleted file mode 100644 index 3eea64e..00000000 --- a/examples/limitedcommits.toml +++ /dev/null @@ -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 diff --git a/website/docs/templating/examples.md b/website/docs/templating/examples.md index a943813..e483e82 100644 --- a/website/docs/templating/examples.md +++ b/website/docs/templating/examples.md @@ -269,42 +269,6 @@ All notable changes to this project will be documented in this file. -#### [Limited Commits](https://github.com/orhun/git-cliff/tree/main/examples/limitedcommits.toml) - -
- Raw Output - -``` -## [unreleased] -### Feat -- Support multiple file formats -- Use cache while fetching pages - -## [1.0.1] - 2021-07-18 -### Chore -- Add release script -``` - -
- -
- Rendered Output - -## [unreleased] - -### Feat - -- Support multiple file formats -- Use cache while fetching pages - -## [1.0.1] - 2021-07-18 - -### Chore - -- Add release script - -
- #### [Detailed](https://github.com/orhun/git-cliff/tree/main/examples/detailed.toml)
diff --git a/website/docs/usage/initializing.md b/website/docs/usage/initializing.md index b46b2e6..c184685 100644 --- a/website/docs/usage/initializing.md +++ b/website/docs/usage/initializing.md @@ -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)