Odoc_odoc.Odoc_fileSourceLoad and save .odoc and .odocl files.
type content = | Page_content of Odoc_model.Lang.Page.t| Source_tree_content of Odoc_model.Lang.SourceTree.t| Unit_content of unit_contentEither a page or a module.
val save_page :
Fs.File.t ->
warnings:Odoc_model.Error.t list ->
Odoc_model.Lang.Page.t ->
unitSave a page. The page- prefix is added to the file name if missing.
val save_source_tree :
Fs.File.t ->
warnings:Odoc_model.Error.t list ->
Odoc_model.Lang.SourceTree.t ->
unitSave a source tree page. The src- prefix is added to the file name if missing.
Save a module.
Load an .odoc file.
Only load the root. Faster than load, used for looking up imports.