package odoc
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ce84fa7e0cc5f3e8a54e6adeb10826152798b602057b9e46c5ae7e5d5206812b
sha512=9febd413450ca2e3824c9ef7e1c9ae8d8094aa72ed71327a69d8d6b42f6f197b3f3f40d674de0d11fa1242ee0df95c693b5d74467d530704e1339f3a523452f6
doc/odoc.odoc/Odoc_odoc/Resolver/index.html
Module Odoc_odoc.Resolver
Source
Management of the documentation environment.
This is the module which does the link between packages, directories and Odoc_xref2
's needs.
type roots = {
page_roots : named_root list;
lib_roots : named_root list;
current_lib : named_root option;
(*The current
*)-L
.current_package : named_root option;
(*The current
*)-P
.current_dir : Fs.Directory.t;
(*Directory containing the output for the current unit.
*)
}
val create :
important_digests:bool ->
directories:Fs.Directory.t list ->
open_modules:string list ->
roots:roots option ->
t
Prepare the environment for a given list of include directories, page roots and library roots.
Helpers for creating xref2 env.
Initialize the environment for compiling the given module.
Initialize the environment for linking the given module.
Initialize the environment for the given page.
Initialize the environment for the given implementation.
Initialize the environment for the given implementation.
Initialize the environment for a reference.
Similar to Odoc_xref2.Env.lookup_root_module
but save work by loading only the root. Only used when resolving imports, which are needed for the link-deps
command.