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