Odoc_xref2.Compile
val signature : Env.t -> Odoc_model.Paths.Identifier.Signature.t -> Odoc_model.Lang.Signature.t -> Odoc_model.Lang.Signature.t
For testing purpose. May call Lookup_failures.report
.
val compile : filename:string -> Env.t -> Odoc_model.Lang.Compilation_unit.t -> Odoc_model.Lang.Compilation_unit.t Odoc_model.Error.with_warnings
filename
is used for generating warnings.