File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ let html_generate ~occurrence_file ~remaps output_dir linked =
315
315
let index = index.output_file in
316
316
(Some search_uris, Some index)
317
317
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
319
319
~input_file () ;
320
320
Odoc. html_generate ?search_uris ?index ~output_dir ~input_file
321
321
~as_json: true () );
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ let compile_index ?(ignore_output = false) ~output_file ?occurrence_file ~json
180
180
ignore @@ Cmd_outputs. submit log desc cmd (Some output_file)
181
181
182
182
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 () =
184
184
let open Cmd in
185
185
let index =
186
186
match index with None -> empty | Some idx -> v " --index" % p idx
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ val html_generate :
55
55
?index : Fpath .t ->
56
56
?ignore_output : bool ->
57
57
?search_uris : Fpath .t list ->
58
- ?remap : Fpath .t option ->
58
+ ?remap : Fpath .t ->
59
59
?as_json : bool ->
60
60
input_file :Fpath .t ->
61
61
unit ->
Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ let of_packages ~packages_dir packages =
474
474
in
475
475
let selected = List. mem pkg.name packages in
476
476
let remaps =
477
- if List. mem pkg.name packages then []
477
+ if selected then []
478
478
else
479
479
let local_pkg_path = Fpath. to_string (Fpath. to_dir_path pkg_dir) in
480
480
let pkg_path =
You can’t perform that action at this time.
0 commit comments