Skip to content

Commit f4230bd

Browse files
panglesdjonludlam
authored andcommitted
Driver: Remove commented sidebar code
Signed-off-by: Paul-Elliot <[email protected]>
1 parent d8e8e72 commit f4230bd

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

src/driver/compile.mli

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,4 @@ val index : odocl_dir:Fpath.t -> Packages.set -> unit
1717

1818
val sherlodoc : html_dir:Fpath.t -> odocl_dir:Fpath.t -> Packages.set -> unit
1919

20-
(* val compile_sidebars : *)
21-
(* odoc_dir:Fpath.t -> *)
22-
(* output_dir:Fpath.t -> *)
23-
(* Packages.set -> *)
24-
(* Fpath.t Util.StringMap.t *)
25-
2620
val html_generate : Fpath.t -> odocl_dir:Fpath.t -> linked list -> unit

src/driver/odoc_driver.ml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -543,14 +543,7 @@ let run libs verbose packages_dir odoc_dir odocl_dir html_dir stats nb_workers
543543
let odocl_dir = match odocl_dir with Some l -> l | None -> odoc_dir in
544544
let () = Compile.index ~odocl_dir all in
545545
let () = Compile.sherlodoc ~html_dir ~odocl_dir all in
546-
(* let sidebars = *)
547-
(* Compile.compile_sidebars ~odoc_dir *)
548-
(* ~output_dir:(Fpath.( / ) odoc_dir "sidebars") *)
549-
(* all *)
550-
(* in *)
551-
let () =
552-
Compile.html_generate html_dir ~odocl_dir (* sidebars *) linked
553-
in
546+
let () = Compile.html_generate html_dir ~odocl_dir linked in
554547
let _ = Odoc.support_files html_dir in
555548
())
556549
(fun () -> render_stats env nb_workers)

src/driver/voodoo.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ let find_universe_and_version pkg_name =
3838
| _ :: _ :: u :: _, [ version ] -> Ok (u, Fpath.to_string version)
3939
| _ -> Error (`Msg (Format.sprintf "Failed to find package %s" pkg_name))
4040

41-
(* let read_package universe pkg version =
42-
() *)
43-
4441
let process_package pkg =
4542
let metas =
4643
List.filter

0 commit comments

Comments
 (0)