public void render(List<DocItem> listTemplates, String name, String introduction)
throws Exception {
if (listTemplates != null && !listTemplates.isEmpty()) {
String items = appendItemsToBuffer(listTemplates);
ReportFileDocItem report = new ReportFileDocItem(name, introduction, items);
String nameWithExtension = helper.getCompleteFileName(name, HTML_EXTENSION);
helper.writeFile(nameWithExtension, htmlItems.getReportFileTemplate(report));
indexFileGenerator.render(null, INDEX, introduction);
}