Module Html.Dep
HTML generation dependencies, for compiling a package (sic) to HTML files.
As returned by the odoc html-deps
command. These dependencies need to be resolved to concrete .odoc
files by some external mean.
Dependencies
val pkg : t -> string
pkg d
is the package ofd
.
val name : t -> string
name d
is the module name ofd
.
val digest : t -> Stdlib.Digest.t
digest d
is the digest ofd
.
val to_compile_dep : t -> Compile.Dep.t
to_compile_dep d
isd
as a compilation depencency (simply drops thepkg
).
val write : B00.Memo.t -> odoc_files:B0_std.Fpath.t list -> B0_std.Fpath.t -> o:B0_std.Fpath.t -> unit
write m ~odoc_files pkg_odoc_dir o
writes the odoc dependencies of the package directorypkg_odoc_dir
that contains the odoc filesodoc_files
too
.
val read : B00.Memo.t -> B0_std.Fpath.t -> t list B00.Memo.fiber
read m file
reads the result of awrite
fromfile
and continues with the dependencies.