package odig
Lookup documentation of installed OCaml packages
Install
Dune Dependency
Authors
Maintainers
Sources
odig-0.0.6.tbz
sha512=b0150e45e0522ba1eb661414cd9640e96f25648cc2636b6faa994a1af91562e39b5959dfd5ddf24ec36abbe7190e5af3b83aa9299507bc4ebb55f5c7f17abba0
doc/odig.support/Odig_odoc_page/index.html
Module Odig_odoc_page
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
isSome 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
, iftrue
assumes the package list generated bypkg_list
has a tag index and links the tags of the metadata section into it.
val pkgs_with_html_docs : Odig_support.Conf.t -> Odig_support.Pkg.t list
pkg_with_html_docs c
looks up in c
packages that seem to have generated documentation.
val pkg_list :
Odig_support.Conf.t ->
index_title:string option ->
raw_index_intro:string option ->
tag_index:bool ->
ocaml_manual_uri:string option ->
Odig_support.Pkg.t list ->
string
pkg_list c ~index_title ~raw_index_intro ~tag_index ~ocaml_manual_uri pkgs
is an HTML page package list for the packages pkgs
.
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
iftrue
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page