DocumentationContext context, ChangeListener listener,
boolean closeRoot) throws Exception {
Check.notNull(context.getLocale(), "context.locale");
BoostedNode book = BoostedNodeUtils
.createZoomInNode(
parent,
listener,
getDocumentationResourcesTranslation(context,
documentationType), null);
book.getAttributes().setType(BookBoostUtils.BOOK);
//book.getAttributes().setName(getDocumentationResourcesTranslation(context).getString(documentationType.toString()));
//todo create heading, title, etc.
// if (DocumentationResourcesId.DOCUMENTATION_DEVELOPER
// .equals(documentationType)) {
// createDiv(book,
// "The application may be created using the following steps.");
// }
content.fillDocumentation(documentationType, book, context);
//todo create index etc
if (closeRoot)
book.close();//the book is complete
return book;
}