Module Odoc_document.Renderer
Standard definition and types for all renderers
val string_of_syntax : Odoc_document.Renderer.syntax -> stringtype page = {filename : Fpath.t;path : Odoc_document.Url.Path.t;content : Stdlib.Format.formatter -> unit;children : Odoc_document.Renderer.page list;
}val traverse :
f:(Fpath.t -> (Stdlib.Format.formatter -> unit) -> 'a) ->
Odoc_document.Renderer.page list ->
unittype 'a t = {name : string;render : 'a -> Odoc_document.Sidebar.t option -> Odoc_document.Types.Document.t -> Odoc_document.Renderer.page list;filepath : 'a -> Odoc_document.Url.Path.t -> Fpath.t;
}val document_of_page :
syntax:Odoc_document.Renderer.syntax ->
Odoc_model.Lang.Page.t ->
Odoc_document.Types.Document.tval documents_of_implementation :
syntax:Odoc_document.Renderer.syntax ->
Odoc_model.Lang.Implementation.t ->
Syntax_highlighter.infos ->
string ->
Odoc_document.Types.Document.t listval document_of_compilation_unit :
syntax:Odoc_document.Renderer.syntax ->
Odoc_model.Lang.Compilation_unit.t ->
Odoc_document.Types.Document.t