hugo-theme-relearn/.grenrc.js

21 lines
778 B
JavaScript
Raw Normal View History

module.exports = {
2024-11-15 22:38:12 +00:00
changelogFilename: 'CHANGELOG.md',
dataSource: 'milestones',
groupBy: {
2024-11-15 22:38:12 +00:00
'Enhancements': ['feature'],
'Fixes': ['bug'],
'Maintenance': ['task'],
'Uncategorised': ['closed'],
},
2024-11-15 22:38:12 +00:00
ignoreLabels: ['asciidoc', 'blocked', 'browser', 'device', 'helpwanted', 'hugo', 'idea', 'mermaid', 'needsfeedback', 'undecided'],
ignoreIssuesWith: ['discussion', 'documentation', 'duplicate', 'invalid', 'support', 'unresolved', 'update', 'wontchange'],
ignoreTagsWith: ['Relearn', 'x'],
milestoneMatch: '{{tag_name}}',
onlyMilestones: true,
template: {
2024-11-15 22:38:12 +00:00
changelogTitle: '',
group: '\n### {{heading}}\n',
release: ({ body, date, release }) => `## ${release} (` + date.replace(/(\d+)\/(\d+)\/(\d+)/, '$3-$2-$1') + `)\n${body}`,
},
};