Lines Matching refs:sections
56 const flattenSections = function (sections) { argument
57 return sections.flatMap(section => {
58 const subsections = flattenSections(section.sections || []);
64 const flattenedSections = flattenSections(config.sections);
71 const generateTemplateData = function (sections, notes) { argument
72 return (sections || []).flatMap(section => {
75 sections: generateTemplateData(section.sections, notes),
82 if ((templateData.sections.length == 0) && (templateData.notes.length == 0)) {
93 sections: generateTemplateData(config.sections, noteGroup.notes),
105 const generateTemplateData = function (sections, commits) { argument
106 return (sections || []).flatMap(section => {
109 sections: generateTemplateData(section.sections, commits),
116 if ((templateData.sections.length == 0) && (templateData.commits.length == 0)) {
127 sections: generateTemplateData(config.sections, commitGroup.commits),