Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/voodoo-gen/search_index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module Generate = struct
fun n ->
match full_name_aux (n :> Odoc_model.Paths.Identifier.t) with
| [] -> ""
| _ :: q -> String.concat "." q
| _ :: q -> String.concat "." (List.rev q)

let string_of_entry { id; doc } =
Odoc_document.Url.from_identifier ~stop_before:false id >>= fun url ->
Expand Down Expand Up @@ -302,7 +302,12 @@ module Load_doc = struct
| None -> ()
| Some mt_expr -> module_type_expr ppf mt_expr

and simple_expansion _ppf _s_e = ()
and simple_expansion ppf s_e =
match s_e with
| ModuleType.Signature sg -> signature ppf sg
| Functor (param, s_e) ->
let () = functor_parameter ppf param in
simple_expansion ppf s_e

and module_type_expr ppf mte =
match mte with
Expand Down