File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1
1
(library
2
2
(name odoc_markdown)
3
3
(public_name odoc.markdown)
4
- (libraries odoc_model odoc_document cmarkit))
4
+ (libraries odoc_model odoc_document cmarkit)
5
+ (preprocess
6
+ (action
7
+ (run
8
+ %{bin:cppo}
9
+ -I
10
+ "%{env:CPPO_FLAGS=}"
11
+ -V
12
+ OCAML:%{ocaml_version}
13
+ %{input-file}))))
Original file line number Diff line number Diff line change
1
+ module Config = Config
2
+
3
+ #if OCAML_VERSION > = (4 , 08 , 0 )
4
+ module Generator = Generator
5
+ #else
6
+ module Generator = struct
7
+ let render (_ : Config.t ) _ = failwith " Markdown generation isn't available"
8
+
9
+ let filepath (_ : Config.t ) _ = failwith " Markdown generation isn't available"
10
+
11
+ let items (_ : Config.t ) _ = failwith " Markdown generation isn't available"
12
+
13
+ let inline (_ : Config.t ) _ = failwith " Markdown generation isn't available"
14
+ end
15
+ #endif
16
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments