package odig
Lookup documentation of installed OCaml packages
Install
Dune Dependency
Authors
Maintainers
Sources
odig-0.0.4.tbz
sha256=317bff8108f310ba14b435162f27921fb21f4f8a522121b1388b26b1515c496d
md5=cea6608b4d0a62df5c358d771fd1a148
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 -> B0_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