module Syntax: sig
.. end
JSON Encoding Documentation
type
t
val text : t -> Markdown.text
val publish : page:Server.Doc.page ->
name:string ->
descr:Markdown.text ->
synopsis:t ->
?details:Markdown.elements -> unit -> t
The provided synopsis must be very short, to fit in one line.
Extended definition, like record fields and such, must be detailed in
the description block.
val unit : t
val any : t
val int : t
val ident : t
val string : t
val number : t
val boolean : t
val tag : string -> t
val array : t -> t
val tuple : t list -> t
val union : t list -> t
val option : t -> t
val record : (string * t) list -> t
type
field = {
}
val fields : title:string -> field list -> Markdown.element
Builds a table with fields column named with ~title
(shall be capitalized)