File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,8 @@ and entries_of_doc id d =
145
145
| `Verbatim _ -> [ entry ~id ~doc: [ d ] ~kind: (Doc Verbatim ) ]
146
146
| `Math_block _ -> [ entry ~id ~doc: [ d ] ~kind: (Doc MathBlock ) ]
147
147
| `Table _ -> []
148
+ | `Media (_ , _ , content ) ->
149
+ entries_of_doc id { d with value = `Paragraph content }
148
150
149
151
let entries_of_item id (x : Odoc_model.Fold.item ) =
150
152
match x with
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ module Of_document = struct
17
17
| Entity e -> " &" ^ e
18
18
| Linebreak -> " \n "
19
19
| Styled (_ , t ) -> inline t
20
- | Link (_ , t ) -> inline t
21
- | InternalLink { content; _ } -> inline content
20
+ | Link { content; _ } -> inline content
22
21
| Source s -> source s
23
22
| Math m -> m
24
23
| Raw_markup _ -> " "
@@ -59,6 +58,7 @@ module Of_comments = struct
59
58
| `Code_block (_ , s , _todo ) -> s |> get_value
60
59
| `Verbatim v -> v
61
60
| `Math_block m -> m
61
+ | `Media (_ , _ , is ) -> inlines is
62
62
| `Table _ -> (* TODO *) " "
63
63
64
64
and nestable (n : Odoc_model.Comment.nestable_block_element ) =
You can’t perform that action at this time.
0 commit comments