Up
module
CodocDoc
:
sig
#
type
path = string
#
type
cmti_root = {
#
cmti_path
:
path
;
#
unit_name
: string
;
#
unit_digest
:
Digest
.
t
;
}
#
type
resolution = {
#
resolution_root
: string
;
}
#
type
root =
#
| Cmti
of
cmti_root
#
| Resolved
of
resolution
*
root
#
| Proj
of
string *
root
#
| Xml
of
path
*
root
#
| Html
of
path
*
root
#
module
Root :
sig
include
CodocDocMaps.ROOT
with
type
t =
root
#
val
to_source :
t
->
t
#
val
to_path :
t
->
path
#
val
equal :
t
->
t
->
bool
#
val
hash :
t
->
int
end
#
module
Maps : CodocDocMaps.ROOTED_MAPS
with
type
root =
Root
.t
#
type
text =
root
DocOckTypes
.
Documentation
.
text
#
type
t =
#
| Para
of
text
#
| Block
of
text
#
val
xml_of_root :
root
->
Cow.Xml.t
#
val
root_of_xml :
Xmlm
.
tag
->
root
option list
->
root
option
#
val
data_of_xml : string
->
root
option
#
val
paragraphize :
text
->
t
list
end