Odoc_model.Comment
module Path : sig ... end
module Reference : sig ... end
module Identifier : sig ... end
type leaf_inline_element = [
| `Code_span of string
| `Math_span of string
| `Raw_markup of raw_markup_target * string
| `Space
| `Word of string
]
type non_link_inline_element = [
| `Code_span of string
| `Math_span of string
| `Raw_markup of raw_markup_target * string
| `Space
| `Styled of style * non_link_inline_element with_location list
| `Word of string
]
type link_content = non_link_inline_element with_location list
type inline_element = [
| `Code_span of string
| `Link of string * link_content
| `Math_span of string
| `Raw_markup of raw_markup_target * string
| `Reference of Reference.t * link_content
| `Space
| `Styled of style * inline_element with_location list
| `Word of string
]
type paragraph = inline_element with_location list
type !'a cell = 'a with_location list * [ `Data | `Header ]
type !'a row = 'a cell list
type !'a grid = 'a row list
type nestable_block_element = [
| `Code_block of
string option
* string with_location
* nestable_block_element with_location list option
| `List of
[ `Ordered | `Unordered ] * nestable_block_element with_location list list
| `Math_block of string
| `Modules of module_reference list
| `Paragraph of paragraph
| `Table of nestable_block_element abstract_table
| `Verbatim of string
]
type tag = [
| `Alert of string * string option
| `Author of string
| `Before of string * nestable_block_element with_location list
| `Deprecated of nestable_block_element with_location list
| `Param of string * nestable_block_element with_location list
| `Raise of
[ `Code_span of string | `Reference of Reference.t * link_content ]
* nestable_block_element with_location list
| `Return of nestable_block_element with_location list
| `See of
[ `Document | `File | `Url ]
* string
* nestable_block_element with_location list
| `Since of string
| `Version of string
]
type attached_block_element = [
| `Code_block of
string option
* string with_location
* nestable_block_element with_location list option
| `List of
[ `Ordered | `Unordered ] * nestable_block_element with_location list list
| `Math_block of string
| `Modules of module_reference list
| `Paragraph of paragraph
| `Table of nestable_block_element abstract_table
| `Tag of tag
| `Verbatim of string
]
type block_element = [
| `Code_block of
string option
* string with_location
* nestable_block_element with_location list option
| `Heading of
heading_attrs * Identifier.Label.t * inline_element with_location list
| `List of
[ `Ordered | `Unordered ] * nestable_block_element with_location list list
| `Math_block of string
| `Modules of module_reference list
| `Paragraph of paragraph
| `Table of nestable_block_element abstract_table
| `Tag of tag
| `Verbatim of string
]
type docs = block_element with_location list
val link_content_of_inline_element :
inline_element with_location ->
link_content
val link_content_of_inline_elements :
inline_element with_location list ->
non_link_inline_element with_location list