Module Odoc_document.Comment

module Comment = Odoc_model.Comment
val default_lang_tag : string
module Resources : sig ... end

Resource collection for extension handlers. Resources are collected during document generation and retrieved when building the final page.

module Assets : sig ... end

Asset collection for extension handlers. Assets (binary files like PNGs) are collected during document generation and written alongside the HTML output.

val source_of_code : string -> Types.Source.token list
module Reference : sig ... end
val leaf_inline_element : Comment.leaf_inline_element -> Types.Inline.one
val inline_element : Comment.inline_element -> Types.Inline.t
val module_references : Comment.module_reference list -> Types.Block.one
val nestable_block_element : Comment.nestable_block_element -> Types.Block.one list
val nestable_block_element_list : Comment.nestable_block_element Comment.with_location list -> Types.Block.one list
val attached_block_element : Comment.attached_block_element -> Types.Block.t
val block_element : Comment.block_element -> Types.Block.t
val heading_level_to_int : [< `Paragraph | `Section | `Subparagraph | `Subsection | `Subsubsection | `Title ] -> int
val item_element : Comment.block_element -> Types.Item.t list
val synopsis : decl_doc: ([> `Paragraph of Comment.paragraph ] as 'a) Odoc_model.Location_.with_location list -> expansion_doc:'a Odoc_model.Location_.with_location list option -> Types.Block.one list

The documentation of the expansion is used if there is no comment attached to the declaration.

val to_ir : Comment.elements -> Types.Block.one list
val has_doc : 'a list -> bool