Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Dec 5, 2024
1 parent 073fc68 commit 82781cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/json_index/json_search.ml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ let simplified_of_entry ({ Entry.id; doc; _ }) =
let doc = of_doc doc in
let config = Odoc_html.Config.v ~flat:false ~semantic_uris:false ~indent:false ~open_details:false ~as_json:false ~remap:[] () in

let url = Odoc_html.Link.href ~config ~resolve:(Base "/") (Odoc_document.Url.from_identifier ~stop_before:false id) in
let url = Odoc_html.Link.href ~config ~resolve:(Base "") (Odoc_document.Url.from_identifier ~stop_before:false id) in
`Object
[ ("name", `String name); ("prefixname", `String prefix); ("kind", `String kind); ("url", `String url); ("doc", doc); ("comment", doc) ]

Expand Down

0 comments on commit 82781cb

Please sign in to comment.