Odoc_document.Reason
val compilation_unit : Odoc_model.Lang.Compilation_unit.t -> Types.Document.t
val page : Odoc_model.Lang.Page.t -> Types.Document.t
Convert compilation unit or page models into a document
val source_tree : Odoc_model.Lang.SourceTree.t -> Types.Document.t list
val source_page :
Odoc_model.Paths.Identifier.SourcePage.t ->
Syntax_highlighter.infos ->
Odoc_model.Lang.Source_info.infos ->
string ->
Types.Document.t
Highlight the source as OCaml syntax