Module Doctree.HeadingsSource
Source
val fold :
enter_subpages:bool ->
('a -> Odoc_document.Types.Heading.t -> 'a) ->
'a ->
Odoc_document.Types.Page.t ->
'aFold over every headings, follow nested documentedsrc and expansions, as well as subpages if enter_subpages is true.
Source
val foldmap :
enter_subpages:bool ->
('a -> Odoc_document.Types.Heading.t -> 'a * Odoc_document.Types.Heading.t) ->
'a ->
Odoc_document.Types.Page.t ->
'a * Odoc_document.Types.Page.t