File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change
1
+ open Odoc_utils
2
+
1
3
module Path = Paths. Path
2
4
module Reference = Paths. Reference
3
5
module Identifier = Paths. Identifier
@@ -130,7 +132,7 @@ and link_content_of_inline_elements l =
130
132
l |> List. map link_content_of_inline_element |> List. concat
131
133
132
134
let find_zero_heading docs : link_content option =
133
- Odoc_utils. List. find_map
135
+ List. find_map
134
136
(fun doc ->
135
137
match doc.Location_. value with
136
138
| `Heading ({ heading_level = `Title ; _ } , _ , h_content ) ->
@@ -141,9 +143,7 @@ let find_zero_heading docs : link_content option =
141
143
let extract_frontmatter docs : _ =
142
144
let parse_frontmatter s =
143
145
let lines = Astring.String. cuts ~sep: " \n " s in
144
- Odoc_utils.List. filter_map
145
- (fun line -> Astring.String. cut ~sep: " :" line)
146
- lines
146
+ List. filter_map (fun line -> Astring.String. cut ~sep: " :" line) lines
147
147
in
148
148
let fm, content =
149
149
let fm, rev_content =
You can’t perform that action at this time.
0 commit comments