Module Odoc_odoc.DependsSource

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

Sourcemodule Compile : sig ... end
Sourceval for_compile_step : Fs.File.t list -> Compile.t list

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

Sourceval 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.