Odoc_document.RendererStandard definition and types for all renderers
val string_of_syntax : syntax -> stringval traverse :
f:(Fpath.t -> (Format.formatter -> unit) -> 'a) ->
page list ->
unittype 'a t = {name : string;render : 'a -> Types.Document.t -> page list;extra_documents : 'a -> input -> syntax:syntax -> Types.Document.t list;}val document_of_page :
syntax:syntax ->
Odoc_model.Lang.Page.t ->
Types.Document.tval documents_of_source_tree :
syntax:syntax ->
Odoc_model.Lang.SourceTree.t ->
Types.Document.t listval document_of_compilation_unit :
syntax:syntax ->
Odoc_model.Lang.Compilation_unit.t ->
Types.Document.tval document_of_source :
syntax:syntax ->
Odoc_model.Paths.Identifier.SourcePage.t ->
Syntax_highlighter.infos ->
Odoc_model.Lang.Source_info.infos ->
string ->
Types.Document.t