We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ee1b7 commit 84d22e3Copy full SHA for 84d22e3
src/model/sidebar.ml
@@ -8,6 +8,8 @@ type page = Id.Page.t
8
type leaf_page = Id.LeafPage.t
9
type container_page = Id.ContainerPage.t
10
11
+open Astring
12
+
13
module PageToc = struct
14
type title = Comment.link_content
15
@@ -34,7 +36,7 @@ module PageToc = struct
34
36
let leafs (_, dir_content) =
35
37
LPH.fold
38
(fun id { title = payload; _ } acc ->
- if Astring.String.equal "index" (Paths.Identifier.name id) then acc
39
+ if String.equal "index" (Paths.Identifier.name id) then acc
40
else (id, payload) :: acc)
41
dir_content.leafs []
42
0 commit comments