Module Odoc_odoc.Env

type t
type builder
val create : ?⁠important_digests:bool -> directories:Fs.Directory.t list -> builder

Prepare the environment for a given list of include directories

parameter important_digests

indicate whether digests should be compared when doc-ock tries to lookup or fetch a unit. It defaults to true.

val build : builder -> [ `Unit of Compilation_unit.t | `Page of Page.t ] -> t

Initialize the environment for the given unit.

val resolver : t -> Odoc_xref.resolver

Get a resolver from an env

val expander : t -> Odoc_xref.expander

Get an expander from an env