package odoc

  1. Overview
  2. Docs
OCaml documentation generator

Install

Dune Dependency

Authors

Maintainers

Sources

odoc-2.1.1.tbz
sha256=f574dbd28cd0fc3a2b95525c4bb95ddf6d1f6408bb4fe12157fa537884f987fd
sha512=1c545c281a7022a167f028fff8cec6fb3f2f82da0881431be74e7a4281c5353ed83bfbdb4d9d9e08af6755dbe3505c052c5e5b58cdeb08c57aed5e89c0f15e91

doc/odoc.document/Odoc_document/Comment/index.html

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
OCaml

Innovation. Community. Security.