package doc-ock-html

  1. Overview
  2. Docs
val to_html : ?wrap:unit -> get_package:('a -> string) -> 'a DocOck.Types.Documentation.t -> Html_types.div_content_fun Tyxml.Html.elt list

When wrap is passed, then "(** *)" are added around the documentation.

val first_to_html : get_package:('a -> string) -> 'a DocOck.Types.Documentation.t -> Html_types.div_content_fun Tyxml.Html.elt list

Converts the first paragraph (i.e. everything up to the first blank line) to html.

val has_doc : 'a DocOck.Types.Documentation.t -> bool
OCaml

Innovation. Community. Security.