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/index.html
Module Odig_odoc
odoc
API reference generation.
This mainly implements an odoc
file resolution and generation request procedure specific to odig
. Generic odoc
driving bits are provided via B0_odoc
.
val gen :
Odig_support.Conf.t ->
force:bool ->
index_title:string option ->
index_intro:B00_std.Fpath.t option ->
pkg_deps:bool ->
tag_index:bool ->
Odig_support.Pkg.t list ->
(unit, string) result
gen c ~force ~index_intro ~pkg_deps ~tag_index pkgs
generates API reference for packages pkgs
.
index_title
is the title of the page with the list of packages.index_intro
if specified is an mld file to define the introduction of the page with the list of packages.pkg_deps
iftrue
dependencies ofpkgs
are also generated. Iffalse
onlypkgs
are generated which may lead to broken links in the output.tag_index
iftrue
a tag index is generated on the package list page and package pages hyperlink into it from the package information section.
val install_theme :
Odig_support.Conf.t ->
B00_odoc.Theme.t option ->
(unit, string) result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>