mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-22 23:37:53 +00:00
theme: Fix date in changelog, change order #40
This commit is contained in:
parent
8142c82cf0
commit
f581599bb0
3 changed files with 53 additions and 41 deletions
36
.grenrc.js
Normal file
36
.grenrc.js
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
module.exports = {
|
||||||
|
changelogFilename: "CHANGELOG.md",
|
||||||
|
dataSource: "milestones",
|
||||||
|
groupBy: {
|
||||||
|
"Enhancements": [
|
||||||
|
"feature",
|
||||||
|
],
|
||||||
|
"Bug Fixes": [
|
||||||
|
"bug"
|
||||||
|
],
|
||||||
|
"Maintenance": [
|
||||||
|
"task",
|
||||||
|
],
|
||||||
|
"Uncategorised": [
|
||||||
|
"closed",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
ignoreLabels: [
|
||||||
|
"discussion",
|
||||||
|
"documentation",
|
||||||
|
"duplicate",
|
||||||
|
"hugo",
|
||||||
|
"invalid",
|
||||||
|
"support",
|
||||||
|
"wontfix",
|
||||||
|
],
|
||||||
|
ignoreTagsWith: [
|
||||||
|
"Relearn",
|
||||||
|
],
|
||||||
|
milestoneMatch: "{{tag_name}}",
|
||||||
|
onlyMilestones: true,
|
||||||
|
template: {
|
||||||
|
group: "\n### {{heading}}\n",
|
||||||
|
release: ({ body, date, release }) => `## ${release} (` + date.replace( /(\d+)\/(\d+)\/(\d+)/, '$3-$2-$1' ) + `)\n${body}`,
|
||||||
|
},
|
||||||
|
};
|
24
.grenrc.yml
24
.grenrc.yml
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
dataSource: "milestones"
|
|
||||||
onlyMilestones: true
|
|
||||||
milestoneMatch: "{{tag_name}}"
|
|
||||||
template:
|
|
||||||
group: "\n### {{heading}}\n"
|
|
||||||
changelogFilename: "CHANGELOG.md"
|
|
||||||
ignore-tags-with:
|
|
||||||
- "Relearn"
|
|
||||||
ignoreLabels:
|
|
||||||
- "documentation"
|
|
||||||
- "duplicate"
|
|
||||||
- "invalid"
|
|
||||||
- "support"
|
|
||||||
- "wontfix"
|
|
||||||
groupBy:
|
|
||||||
Bug Fixes:
|
|
||||||
- "bug"
|
|
||||||
New features:
|
|
||||||
- "feature"
|
|
||||||
Maintenance:
|
|
||||||
- "task"
|
|
||||||
Uncategorised:
|
|
||||||
- "closed"
|
|
34
CHANGELOG.md
34
CHANGELOG.md
|
@ -1,15 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 1.2.0 (26/07/2021)
|
## 1.2.0 (2021-07-26)
|
||||||
|
|
||||||
### Bug Fixes
|
### Enhancements
|
||||||
|
|
||||||
- [**bug**] dependency: upgrade jquery to 3.6.0 [#30](https://github.com/McShelby/hugo-theme-relearn/issues/30)
|
|
||||||
- [**bug**] attachments: support i18n for attachment size [#21](https://github.com/McShelby/hugo-theme-relearn/issues/21)
|
|
||||||
- [**bug**] notice: support i18n for box labels [#16](https://github.com/McShelby/hugo-theme-relearn/issues/16)
|
|
||||||
- [**bug**] notice: support multiple blocks in one box [#15](https://github.com/McShelby/hugo-theme-relearn/issues/15)
|
|
||||||
|
|
||||||
### New features
|
|
||||||
|
|
||||||
- [**feature**] theme: adjust copy-to-clipboard [#29](https://github.com/McShelby/hugo-theme-relearn/issues/29)
|
- [**feature**] theme: adjust copy-to-clipboard [#29](https://github.com/McShelby/hugo-theme-relearn/issues/29)
|
||||||
- [**feature**] attachments: adjust style with notice boxes [#28](https://github.com/McShelby/hugo-theme-relearn/issues/28)
|
- [**feature**] attachments: adjust style with notice boxes [#28](https://github.com/McShelby/hugo-theme-relearn/issues/28)
|
||||||
|
@ -22,9 +15,16 @@
|
||||||
- [**feature**] notice: align box colors to common standards [#18](https://github.com/McShelby/hugo-theme-relearn/issues/18)
|
- [**feature**] notice: align box colors to common standards [#18](https://github.com/McShelby/hugo-theme-relearn/issues/18)
|
||||||
- [**feature**] notice: use distinct icons for notice box type [#17](https://github.com/McShelby/hugo-theme-relearn/issues/17)
|
- [**feature**] notice: use distinct icons for notice box type [#17](https://github.com/McShelby/hugo-theme-relearn/issues/17)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- [**bug**] dependency: upgrade jquery to 3.6.0 [#30](https://github.com/McShelby/hugo-theme-relearn/issues/30)
|
||||||
|
- [**bug**] attachments: support i18n for attachment size [#21](https://github.com/McShelby/hugo-theme-relearn/issues/21)
|
||||||
|
- [**bug**] notice: support i18n for box labels [#16](https://github.com/McShelby/hugo-theme-relearn/issues/16)
|
||||||
|
- [**bug**] notice: support multiple blocks in one box [#15](https://github.com/McShelby/hugo-theme-relearn/issues/15)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1.1.1 (04/07/2021)
|
## 1.1.1 (2021-07-04)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
|
@ -32,7 +32,11 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1.1.0 (02/07/2021)
|
## 1.1.0 (2021-07-02)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- [**feature**] mermaid: expose options in config.toml [#4](https://github.com/McShelby/hugo-theme-relearn/issues/4)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
|
@ -42,17 +46,13 @@
|
||||||
- [**bug**] mermaid: code fences not always rendered [#6](https://github.com/McShelby/hugo-theme-relearn/issues/6)
|
- [**bug**] mermaid: code fences not always rendered [#6](https://github.com/McShelby/hugo-theme-relearn/issues/6)
|
||||||
- [**bug**] mermaid: search term on load may bomb chart [#5](https://github.com/McShelby/hugo-theme-relearn/issues/5)
|
- [**bug**] mermaid: search term on load may bomb chart [#5](https://github.com/McShelby/hugo-theme-relearn/issues/5)
|
||||||
|
|
||||||
### New features
|
|
||||||
|
|
||||||
- [**feature**] mermaid: expose options in config.toml [#4](https://github.com/McShelby/hugo-theme-relearn/issues/4)
|
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- [**task**] mermaid: update to 8.10.2 [#7](https://github.com/McShelby/hugo-theme-relearn/issues/7)
|
- [**task**] mermaid: update to 8.10.2 [#7](https://github.com/McShelby/hugo-theme-relearn/issues/7)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1.0.1 (01/07/2021)
|
## 1.0.1 (2021-07-01)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1.0.0 (01/07/2021)
|
## 1.0.0 (2021-07-01)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue