File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -254,14 +254,18 @@ module Make (Syntax : SYNTAX) = struct
254
254
255
255
let to_link { Lang.Source_info. documentation; implementation } =
256
256
let documentation =
257
- let open Paths.Path.Resolved in
258
- match documentation with
259
- | Some (`Resolved p ) when not (is_hidden (p :> t )) -> (
260
- let id = identifier (p :> t ) in
261
- match Url. from_identifier ~stop_before: false id with
262
- | Ok link -> Some link
263
- | _ -> None )
264
- | _ -> None
257
+ (* Since documentation link are not rendered, we comment the code to
258
+ extract the href, and always output [None] *)
259
+ ignore documentation;
260
+ None
261
+ (* let open Paths.Path.Resolved in *)
262
+ (* match documentation with *)
263
+ (* | Some (`Resolved p) when not (is_hidden (p :> t)) -> ( *)
264
+ (* let id = identifier (p :> t) in *)
265
+ (* match Url.from_identifier ~stop_before:false id with *)
266
+ (* | Ok link -> Some link *)
267
+ (* | _ -> None) *)
268
+ (* | _ -> None *)
265
269
in
266
270
let implementation =
267
271
match implementation with
You can’t perform that action at this time.
0 commit comments