Module Odoc_odoc.Depends

Computes the dependencies required for each step of the pipeline to work correctly on a given input.

module Compile : sig ... end
val for_compile_step : Fs.File.t -> Compile.t list

Takes a .cm{i,t,ti} file and returns the list of its dependencies.

val for_rendering_step : Fs.Directory.t -> (Odoc_model.Root.t list[> Or_error.msg ]) Or_error.result

Takes the directory where the .odoc files of a given package are stored and returns the list of roots that need to be in odoc's load path to render these .odoc files.