package odoc
OCaml Documentation Generator
Install
Dune Dependency
Authors
Maintainers
Sources
odoc-3.0.0.tbz
sha256=ce84fa7e0cc5f3e8a54e6adeb10826152798b602057b9e46c5ae7e5d5206812b
sha512=9febd413450ca2e3824c9ef7e1c9ae8d8094aa72ed71327a69d8d6b42f6f197b3f3f40d674de0d11fa1242ee0df95c693b5d74467d530704e1339f3a523452f6
doc/odoc.model/Odoc_model/Comment/index.html
Module Odoc_model.Comment
Source
Source
type leaf_inline_element = [
| `Space
| `Word of string
| `Code_span of string
| `Math_span of string
| `Raw_markup of raw_markup_target * string
]
Source
type non_link_inline_element = [
| leaf_inline_element
| `Styled of style * non_link_inline_element with_location list
]
Source
type inline_element = [
| leaf_inline_element
| `Styled of style * inline_element with_location list
| reference_element
| `Link of string * link_content
]
Source
type module_reference = {
module_reference : Reference.Module.t;
module_synopsis : paragraph option;
}
The {!modules: ...}
markup. module_synopsis
is initially None
, it is resolved during linking.
Source
type nestable_block_element = [
| `Paragraph of paragraph
| `Code_block of string option * string with_location * nestable_block_element with_location list option
| `Math_block of string
| `Verbatim of string
| `Modules of module_reference list
| `Table of nestable_block_element abstract_table
| `List of [ `Unordered | `Ordered ] * nestable_block_element with_location list list
| media_element
]
Source
type tag = [
| `Author of string
| `Deprecated of nestable_block_element with_location list
| `Param of string * nestable_block_element with_location list
| `Raise of [ `Code_span of string | reference_element ] * nestable_block_element with_location list
| `Return of nestable_block_element with_location list
| `See of [ `Url | `File | `Document ] * string * nestable_block_element with_location list
| `Since of string
| `Before of string * nestable_block_element with_location list
| `Version of string
| `Alert of string * string option
]
Source
type heading_attrs = {
heading_level : heading_level;
heading_label_explicit : bool;
(*Whether the label have been written by the user.
*)
}
Source
type block_element = [
| nestable_block_element
| `Heading of heading_attrs * Identifier.Label.t * inline_element with_location list
| `Tag of tag
]
The synopsis is the first element of a comment if it is a paragraph. Otherwise, there is no synopsis.
Source
val link_content_of_inline_elements :
inline_element with_location list ->
non_link_inline_element with_location list
Source
val find_zero_heading :
[> `Heading of heading_attrs * 'a * inline_element with_location list ]
Location_.with_location
Odoc_utils.List.t ->
link_content option
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>