this repo has no description
1(documentation
2 (package odoc)
3 (files
4 (glob_files *.mld)
5 (glob_files deprecated/*.mld)
6 odoc_logo_placeholder.jpg))
7
8; Uncomment to run mdx on the documentation's code blocks.
9; (mdx
10; (files
11; driver.mld
12; dune.mld
13; features.mld
14; index.mld
15; interface.mld
16; ocamldoc_differences.mld
17; odoc_for_authors.mld
18; parent_child_spec.mld))
19
20; The driver is also used to collect benchmarks. The benchmark result is always
21; generated but is promoted only by the @bench alias.
22
23(rule
24 (targets driver.mld.corrected driver-benchmarks.json)
25 (enabled_if
26 (> %{ocaml_version} 4.11))
27 (deps
28 (package odoc)
29 (universe) ; Benchmark depends on the running time of odoc commands
30 (glob_files *.mld)
31 (glob_files *.js)
32 (glob_files library_mlds/*)
33 (glob_files examples/*.ml*))
34 (action
35 (progn
36 (write-file driver-benchmarks.json "")
37 (run ocaml-mdx-test --force-output %{dep:driver.mld}))))
38
39(rule
40 (alias docgen)
41 (action
42 (progn
43 (diff driver.mld driver.mld.corrected))))
44
45; Logo already installed via (documentation) stanza above
46; (install
47; (section doc)
48; (files
49; (odoc_logo_placeholder.jpg as odoc-pages/odoc_logo_placeholder.jpg))
50; (package odoc))
51