documentationContext.setLocale(Locale.ENGLISH);
File englishDocumentationDirectory = new File(directory, ENGLISH);
documentationContext
.setDocumentationTarget(englishDocumentationDirectory
.getCanonicalPath());
BoostedNode slipcase = SoftwareDocumentationBoostUtils
.createSoftwareDocumentation(
toBeDocumented, documentationContext, true, true);
// [/gb:useInDocumentation]
FileUtils
.write(new File(englishDocumentationDirectory, "index.html"),
"<html><body><h1><a href='"
+ slipcase.getAttributes().getName()
+ "/index.html'>index</a></h1><h1></body></html>");
// [gb:useInDocumentation]
documentationContext = new DocumentationContext();
documentationContext.setLocale(Locale.GERMAN);
File germanDocumentationDirectory = new File(directory, GERMAN);
documentationContext
.setDocumentationTarget(germanDocumentationDirectory
.getCanonicalPath());
slipcase = SoftwareDocumentationBoostUtils.createSoftwareDocumentation(
toBeDocumented, documentationContext, true, true);
// [/gb:useInDocumentation]
FileUtils.write(new File(germanDocumentationDirectory, "index.html"),
"<html><body><h1><a href='"
+ slipcase.getAttributes().getName()
+ "/index.html'>index</a></h1><h1></body></html>");
copyExampleResultFiles(directory);
}