Library
Module
Module type
Parameter
Class
Class type
Lookup package API documention compilation objects.
The compilation objects relevant for documentation are looked up according to the following rules:
cmi
file.cmti
file then if missing for a cmt
file, then if none of these exist the cmi
file.cmti
or cmt
files which have no corresponding cmi
file odig collects them and deems them to be hidden (odoc
will be called with the --hidden
option).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.
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.t
by_modname ~init cobjs
indexes cobjs
by module name and adds them to init
(defaults to String.Map.empty
).