Odoc_odoc.CompileSourcetype cli_spec = | CliNoParent of Fpath.t| CliPackage of package_spec| CliParent of parent_spec| CliParentId of parent_id_specCompute the name of the page from the output file. Prefix is the prefix to remove from the filename.
val resolve_imports :
Resolver.t ->
Odoc_model.Lang.Compilation_unit.Import.t list ->
Odoc_model.Lang.Compilation_unit.Import.t listval resolve_parent_page :
Resolver.t ->
string ->
(Odoc_model.Paths.Identifier.ContainerPage.t
* Odoc_model.Lang.Page.child list,
[> Odoc_utils.msg ])
resultParse and resolve a parent reference. Returns the identifier of the parent and its children as a list of reference.
val compile :
resolver:Resolver.t ->
hidden:bool ->
cli_spec:cli_spec ->
warnings_options:Odoc_model.Error.warnings_options ->
short_title:string option ->
Fpath.t ->
(unit, [> Odoc_utils.msg ]) resultProduces .odoc files out of .cm{i,t,ti} or .mld files.