Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Signed-off-by: Paul-Elliot <[email protected]>
  • Loading branch information
panglesd committed Jul 24, 2024
1 parent 3f09e3d commit 72895a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/model/root.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module Odoc_file = struct

type page = { name : string; title : Comment.link_content option }


type t =
| Page of page
| Compilation_unit of compilation_unit
Expand All @@ -47,7 +46,9 @@ module Odoc_file = struct
let create_impl name = Impl name

let name = function
| Page { name; _ } | Compilation_unit { name; _ } | Impl name | Asset name -> name
| Page { name; _ } | Compilation_unit { name; _ } | Impl name | Asset name
->
name

let hidden = function
| Page _ | Impl _ | Asset _ -> false
Expand Down

0 comments on commit 72895a9

Please sign in to comment.