package odig
Lookup documentation of installed OCaml packages
Install
Dune Dependency
erratique.ch
Readme
Changelog
ISC; LicenseRef-ParaType-Free-Font-License; LicenseRef-DejaVu-fonts License
Edit opam file
Versions (7)
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
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.
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
).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page