package doc-ock-html

  1. Overview
  2. Docs
val keyword : string -> [> Html_types.span ] Tyxml.Html.elt
val module_path : string list -> [> Html_types.span ] Tyxml.Html.elt
module Type : sig ... end
val make_def : get_package:('a -> string) -> id:('a, _) DocOck.Paths.Identifier.t -> code:[< Html_types.code_content_fun ] Tyxml.Html.elt list -> doc:[< Html_types.div_content_fun ] Tyxml.Html.elt list -> [> Html_types.div ] Tyxml.Html.elt
val make_spec : get_package:('a -> string) -> id:('a, _) DocOck.Paths.Identifier.t -> ?doc:[< Html_types.div_content_fun ] Tyxml.Html.elt list -> [< Html_types.div_content_fun ] Tyxml.Html.elt list -> [> Html_types.div ] Tyxml.Html.elt

"->" with a non breaking hyphen, styled as a keyword.

val label : DocOck.Types.TypeExpr.label -> [> `PCDATA ] Tyxml.Html.elt list

For optional arguments adds a word joiner between the question mark and the label.

OCaml

Innovation. Community. Security.