Odoc_odoc.Resolver
SourceManagement of the documentation environment.
This is the module which does the link between packages, directories and Odoc_xref2
's needs.
val create :
important_digests:bool ->
directories:Fs.Directory.t list ->
open_modules:string list ->
t
Prepare the environment for a given list of include directories
Helpers for creating xref2 env.
val build_compile_env_for_unit :
t ->
Odoc_loader.Lookup_def.t option ->
Odoc_model.Lang.Compilation_unit.t ->
Odoc_xref2.Env.t
Initialize the environment for compiling the given module.
val build_link_env_for_unit :
t ->
Odoc_model.Lang.Compilation_unit.t ->
Odoc_loader.Lookup_def.t option ->
Odoc_xref2.Env.t
Initialize the environment for linking the given module.
Initialize the environment for the given page.
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.