package odig

  1. Overview
  2. Docs
On This Page
  1. Pages
Legend:
Library
Module
Module type
Parameter
Class
Class type

mld and HTML pages generated by odig itself.

Pages

val index_mld : Odig_support.Conf.t -> Odig_support.Pkg.t -> Odig_support.Pkg_info.t -> user_index:string option -> with_tag_links:bool -> string

index_mld conf pkg pkg_info ~user_index ~with_tag_links is an index.mld page for package pkg with info pkg_info.

  • If user_index is Some content, that user provided content is integrated in the result (a leading section "{0" is stripped away though) and no module index is generated by the function.
  • with_tag_links, if true assumes the package list generated by pkg_list has a tag index and links the tags of the metadata section into it.
val pkg_list : Odig_support.Conf.t -> index_title:string option -> raw_index_intro:string option -> tag_index:bool -> ocaml_manual_uri:string option -> string

pkg_list c ~index_title ~raw_index_intro ~tag_index ~ocaml_manual_uri is an HTML page for the packages that have their documentation generated in c.

  • index_title is a title for the page with the list of packages; if unspecified one is automatically generated.
  • raw_index_intro is the HTML markup that is inserted before the list of packages; if unspecified one is automatically generated.
  • tag_index if true a package tag is added to the page after the list of packages by name.
  • ocaml_manual_uri is a local URI to the OCaml manual if unspecified the online manual is linked.
OCaml

Innovation. Community. Security.