Skip to content

Commit 785294a

Browse files
committed
Formatting
1 parent 03e0b61 commit 785294a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

doc/dune

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,7 @@
5050

5151
(install
5252
(section doc)
53-
(files odoc-config.sexp (odoc_logo_placeholder.jpg as odoc-pages/odoc_logo_placeholder.jpg))
53+
(files
54+
odoc-config.sexp
55+
(odoc_logo_placeholder.jpg as odoc-pages/odoc_logo_placeholder.jpg))
5456
(package odoc))

src/driver/landing_pages.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ let package_list ~dirs all =
103103
in
104104
fpf ppf "{0 List of all packages}@\n";
105105
let print_pkg pkg =
106-
if pkg.selected then fpf ppf "- {{:%s/index.html}%s}@\n" pkg.name pkg.name in
106+
if pkg.selected then fpf ppf "- {{:%s/index.html}%s}@\n" pkg.name pkg.name
107+
in
107108
List.iter print_pkg sorted_packages
108109
in
109110
let content = content all in

src/driver/odoc_units_of.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ let packages ~dirs ~extra_paths ~remap (pkgs : Packages.t list) : t list =
200200
in
201201
let index = index_of pkg in
202202
let units = List.concat_map (of_module pkg lib lib_deps) lib.modules in
203-
if pkg.selected then
203+
if pkg.selected then
204204
let landing_page :> t = Landing_pages.library ~dirs ~pkg ~index lib in
205205
landing_page :: units
206206
else units
@@ -284,7 +284,8 @@ let packages ~dirs ~extra_paths ~remap (pkgs : Packages.t list) : t list =
284284
| Some { mip_src_info = Some _; _ } -> true
285285
| _ -> false)
286286
lib.Packages.modules)
287-
pkg.libraries && pkg.selected
287+
pkg.libraries
288+
&& pkg.selected
288289
then
289290
let index = index_of pkg in
290291
[ Landing_pages.src ~dirs ~pkg ~index ]

0 commit comments

Comments
 (0)