StringBuilder description = new StringBuilder();
Element descriptionPart = element.parent();
do {
description.append(descriptionPart.outerHtml());
} while ((descriptionPart = descriptionPart.nextElementSibling()) != null && !descriptionPart.tagName().equals("h2"));
File docFile = new File(outputDirectory, name + ".html");
if (!docFile.exists()) {
FileUtils.writeStringToFile(docFile, description + "<br><i>Module: " + moduleFile.getName() + "</i>");
} else {