package odoc
Module Odoc_document.RendererSource
Standard definition and types for all renderers
Source
type page = {filename : Fpath.t;path : Url.Path.t;content : Format.formatter -> unit;children : page list;
}Source
type 'a t = {name : string;render : 'a -> Sidebar.t option -> Types.Document.t -> page list;filepath : 'a -> Url.Path.t -> Fpath.t;
}Source
val documents_of_implementation :
syntax:syntax ->
Odoc_model.Lang.Implementation.t ->
Syntax_highlighter.infos ->
string ->
Types.Document.t listSource
val document_of_compilation_unit :
syntax:syntax ->
Odoc_model.Lang.Compilation_unit.t ->
Types.Document.t