public void render(List<DocItem> listItems, String name) throws Exception {
String nameWithExtension = helper.getCompleteFileName(INDEX, HTML_EXTENSION);
List<LinkDocItem> files = getListOfFileAsString(nameWithExtension, INDEX);
MenuDocItem menu = new MenuDocItem("List of doctest files", files);
String body = htmlItems.getListFilesTemplate(menu);
FileDocItem index = new FileDocItem(name, body);
helper.writeFile(nameWithExtension, htmlItems.getIndexTemplate(index));
}