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_support/Doc_cobj/index.html
Module Odig_support.Doc_cobj
Lookup package API documention compilation objects.
The compilation objects relevant for documentation are looked up according to the following rules:
- Packages denote which compilation units should appear in the docs by installing their
cmi
file. - For each of these files odig looks, in the same directory, first for a corresponding
cmti
file then if missing for acmt
file, then if none of these exist thecmi
file. - For
cmti
orcmt
files which have no correspondingcmi
file odig collects them and deems them to be hidden (odoc
will be called with the--hidden
option).
Documentation compilation objects
val path : t -> B00_std.Fpath.t
path cobj
is the path to cobj
.
val modname : t -> string
modname cobj
is the module name of cobj
(as determined from the filename).
hidden cobj
is true
if odoc must compile cobj
with the --hidden
option.
val don't_list : t -> bool
don't_list cobj
is true
if cobj
should not appear in module indexes.
Queries
of_pkg pkg
are the compilation objects of pkg
that are useful for documentation generation.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page