Skip to content

Commit 84d22e3

Browse files
committed
Compatibility again
1 parent e4ee1b7 commit 84d22e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/model/sidebar.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ type page = Id.Page.t
88
type leaf_page = Id.LeafPage.t
99
type container_page = Id.ContainerPage.t
1010

11+
open Astring
12+
1113
module PageToc = struct
1214
type title = Comment.link_content
1315

@@ -34,7 +36,7 @@ module PageToc = struct
3436
let leafs (_, dir_content) =
3537
LPH.fold
3638
(fun id { title = payload; _ } acc ->
37-
if Astring.String.equal "index" (Paths.Identifier.name id) then acc
39+
if String.equal "index" (Paths.Identifier.name id) then acc
3840
else (id, payload) :: acc)
3941
dir_content.leafs []
4042

0 commit comments

Comments
 (0)