Module Odoc_document.Comment

module Comment = Odoc_model.Comment
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
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 has_doc : 'a list -> bool