Odoc_odoc.Odoc_file
type unit_content = Odoc_model.Lang.Compilation_unit.t
type content =
| Page_content of Odoc_model.Lang.Page.t
| Source_tree_content of Odoc_model.Lang.SourceTree.t
| Unit_content of unit_content
val save_page :
Odoc_odoc.Fs.File.t ->
warnings:Odoc_model.Error.t list ->
Odoc_model.Lang.Page.t ->
unit
val save_source_tree :
Odoc_odoc.Fs.File.t ->
warnings:Odoc_model.Error.t list ->
Odoc_model.Lang.SourceTree.t ->
unit
val save_unit :
Odoc_odoc.Fs.File.t ->
warnings:Odoc_model.Error.t list ->
unit_content ->
unit
val load :
Odoc_odoc.Fs.File.t ->
(t, [> Odoc_odoc.Or_error.msg ]) Odoc_odoc.Or_error.result
val load_root :
Odoc_odoc.Fs.File.t ->
(Odoc_model.Root.t, [> Odoc_odoc.Or_error.msg ]) Odoc_odoc.Or_error.result