Skip to content

Commit 826ecb8

Browse files
committed
Changes following PR review
1 parent a7dd11e commit 826ecb8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/driver/compile.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ let html_generate ~occurrence_file ~remaps output_dir linked =
315315
let index = index.output_file in
316316
(Some search_uris, Some index)
317317
in
318-
Odoc.html_generate ?search_uris ?index ~remap:remap_file ~output_dir
318+
Odoc.html_generate ?search_uris ?index ?remap:remap_file ~output_dir
319319
~input_file ();
320320
Odoc.html_generate ?search_uris ?index ~output_dir ~input_file
321321
~as_json:true ());

src/driver/odoc.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ let compile_index ?(ignore_output = false) ~output_file ?occurrence_file ~json
180180
ignore @@ Cmd_outputs.submit log desc cmd (Some output_file)
181181

182182
let html_generate ~output_dir ?index ?(ignore_output = false)
183-
?(search_uris = []) ?(remap = None) ?(as_json = false) ~input_file:file () =
183+
?(search_uris = []) ?remap ?(as_json = false) ~input_file:file () =
184184
let open Cmd in
185185
let index =
186186
match index with None -> empty | Some idx -> v "--index" % p idx

src/driver/odoc.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ val html_generate :
5555
?index:Fpath.t ->
5656
?ignore_output:bool ->
5757
?search_uris:Fpath.t list ->
58-
?remap:Fpath.t option ->
58+
?remap:Fpath.t ->
5959
?as_json:bool ->
6060
input_file:Fpath.t ->
6161
unit ->

src/driver/packages.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ let of_packages ~packages_dir packages =
474474
in
475475
let selected = List.mem pkg.name packages in
476476
let remaps =
477-
if List.mem pkg.name packages then []
477+
if selected then []
478478
else
479479
let local_pkg_path = Fpath.to_string (Fpath.to_dir_path pkg_dir) in
480480
let pkg_path =

0 commit comments

Comments
 (0)