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