From a87eec564f9e2d12da29c622953bb5436590cb78 Mon Sep 17 00:00:00 2001 From: Jon Ludlam Date: Thu, 5 Dec 2024 10:07:27 +0000 Subject: [PATCH] fix --- src/search/json_index/json_search.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search/json_index/json_search.ml b/src/search/json_index/json_search.ml index 4bed8aba18..95ac608e0b 100644 --- a/src/search/json_index/json_search.ml +++ b/src/search/json_index/json_search.ml @@ -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) ]