Main entrypoint to generate a document for a specific Documentable
namespace Facebook\HHAPIDoc;
final class DocumentationBuilder {...}
->__construct(DocumentationBuilderContext $context)
->getDocumentation(Documentable $documentable): string
->getContext(): DocumentationBuilderContext
->getDocumentationBody(Documentable $documentable): string
->getPageSections(): keyset<classname<PageSections\PageSection>>
PageSection
subclasses to include in the document->wrapHTMLBody(Documentable $what, string $body): string