package odoc

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Odoc_document.RendererSource

Standard definition and types for all renderers

Sourcetype syntax =
  1. | OCaml
  2. | Reason
Sourceval string_of_syntax : syntax -> string
Sourcetype page = {
  1. filename : Fpath.t;
  2. content : Format.formatter -> unit;
  3. children : page list;
}
Sourceval traverse : f:(Fpath.t -> (Format.formatter -> unit) -> 'a) -> page -> unit
Sourcetype 'a t = {
  1. name : string;
  2. render : 'a -> Types.Page.t -> page;
  3. files_of_url : Url.Path.t -> Fpath.t list;
}
Sourceval document_of_page : syntax:syntax -> Odoc_model.Lang.Page.t -> Types.Page.t
Sourceval document_of_compilation_unit : syntax:syntax -> Odoc_model.Lang.Compilation_unit.t -> Types.Page.t