Lines Matching defs:notes
67 * Register a helper to return a restructured version of the note groups that includes notes
70 Handlebars.registerHelper("tf-a-notes", function (noteGroups, options) {
71 const generateTemplateData = function (sections, notes) {
75 sections: generateTemplateData(section.sections, notes),
76 notes: notes.filter(note => section.scopes?.includes(note.commit.scope)),
80 * Don't return a section if it contains no notes and no sub-sections.
82 if ((templateData.sections.length == 0) && (templateData.notes.length == 0)) {
93 sections: generateTemplateData(config.sections, noteGroup.notes),
94 notes: noteGroup.notes.filter(note =>
114 * Don't return a section if it contains no notes and no sub-sections.
185 commit.notes.forEach(note => {