mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
38 lines
742 B
JavaScript
38 lines
742 B
JavaScript
module.exports = {
|
|
changelogFilename: "exampleSite/content/basics/CHANGELOG.md",
|
|
dataSource: "milestones",
|
|
groupBy: {
|
|
"Enhancements": [
|
|
"feature",
|
|
],
|
|
"Fixes": [
|
|
"bug"
|
|
],
|
|
"Maintenance": [
|
|
"task",
|
|
],
|
|
"Uncategorised": [
|
|
"closed",
|
|
],
|
|
},
|
|
ignoreLabels: [
|
|
"hugo",
|
|
],
|
|
ignoreIssuesWith: [
|
|
"discussion",
|
|
"documentation",
|
|
"duplicate",
|
|
"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}`,
|
|
},
|
|
};
|