Module Odoc__Env

Management of the documentation environment.

This is the module which does the link between packages, directories and DocOck's needs.

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

Prepare the environment for a given list of include directories

val build : builder ‑> [ `Unit of Odoc.Unit.t | `Page of Odoc.Page.t ] ‑> t

Initialize the environment for the given unit.

val resolver : t ‑> Odoc.Root.t DocOck.resolver

Get a resolver from an env

val expander : t ‑> Odoc.Root.t DocOck.expander

Get an expander from an env