Module DocOckTypes.Documentation

type style =
| Bold
| Italic
| Emphasize
| Center
| Left
| Right
| Superscript
| Subscript
| Custom of string
type 'a reference =
| Element of 'a DocOckPaths.Reference.any
| Custom of string * string
type see =
| Url of string
| File of string
| Doc of string
type 'a text = 'a text_element list
type 'a text_element =
| Raw of string
| Code of string
| PreCode of string
| Verbatim of string
| Style of style * 'a text
| List of 'a text list
| Enum of 'a text list
| Newline
| Title of int * 'a DocOckPaths.Identifier.label option * 'a text
| Reference of 'a reference * 'a text option
| Target of string option * string
| Special of 'a special
type 'a tag =
| Author of string
| Version of string
| See of see * 'a text
| Since of string
| Before of string * 'a text
| Deprecated of 'a text
| Param of string * 'a text
| Raise of string * 'a text
| Return of 'a text
| Inline
| Tag of string * 'a text
| Canonical of 'a DocOckPaths.Path.module_ * 'a DocOckPaths.Reference.module_
type 'a special =
| Modules of ('a DocOckPaths.Reference.module_ * 'a text) list
| Index
module Error : sig ... end
type 'a body = {
text : 'a text;
tags : 'a tag list;
}
type 'a t =
| Ok of 'a body
| Error of 'a Error.t
type 'a comment =
| Documentation of 'a t
| Stop