public function getDocumentation()

in src/DocumentationBuilder.hack [56:66]


  public function getDocumentation(
    Documentable $documentable,
  ): string {
    $body = $this->getDocumentationBody($documentable);
    switch ($this->getContext()->getOutputFormat()) {
      case OutputFormat::MARKDOWN:
        return $body;
      case OutputFormat::HTML:
        return $this->wrapHTMLBody($documentable, $body);
    }
  }