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 =
145145 | `Verbatim _ -> [ entry ~id ~doc: [ d ] ~kind: (Doc Verbatim ) ]
146146 | `Math_block _ -> [ entry ~id ~doc: [ d ] ~kind: (Doc MathBlock ) ]
147147 | `Table _ -> []
148+ | `Media (_ , _ , content ) ->
149+ entries_of_doc id { d with value = `Paragraph content }
148150
149151let entries_of_item id (x : Odoc_model.Fold.item ) =
150152 match x with
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ module Of_document = struct
1717 | Entity e -> " &" ^ e
1818 | Linebreak -> " \n "
1919 | Styled (_ , t ) -> inline t
20- | Link (_ , t ) -> inline t
21- | InternalLink { content; _ } -> inline content
20+ | Link { content; _ } -> inline content
2221 | Source s -> source s
2322 | Math m -> m
2423 | Raw_markup _ -> " "
@@ -59,6 +58,7 @@ module Of_comments = struct
5958 | `Code_block (_ , s , _todo ) -> s |> get_value
6059 | `Verbatim v -> v
6160 | `Math_block m -> m
61+ | `Media (_ , _ , is ) -> inlines is
6262 | `Table _ -> (* TODO *) " "
6363
6464 and nestable (n : Odoc_model.Comment.nestable_block_element ) =
You can’t perform that action at this time.
0 commit comments