package odig
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Lookup documentation of installed OCaml packages
Install
dune-project
Dependency
erratique.ch
Readme
Changelog
ISC; LicenseRef-ParaType-Free-Font-License; LicenseRef-DejaVu-fonts License
Edit opam file
Versions (2)
Authors
Maintainers
Sources
odig-0.0.9.tbz
sha512=1658390e48b7698522bf539ee038476968c27b75cd90277dfeffb21258940fc2a1e24a12403aba24f7ad2ce33dc920d3149c7d3cfb74c5c3e961b1e96639e9de
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
cmifile. - For each of these files odig looks, in the same directory, first for a corresponding
cmtifile then if missing for acmtfile, then if none of these exist thecmifile. - For
cmtiorcmtfiles which have no correspondingcmifile odig collects them and deems them to be hidden (odocwill be called with the--hiddenoption).
Documentation compilation objects
val path : t -> B0_std.Fpath.tpath cobj is the path to cobj.
val modname : t -> stringmodname 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 -> booldon'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.
val by_modname :
?init:t list B0_std.String.Map.t ->
t list ->
t list B0_std.String.Map.tby_modname ~init cobjs indexes cobjs by module name and adds them to init (defaults to String.Map.empty).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page