RFC6901 JSON Pointer implementation in OCaml using jsont
1(mdx
2 (files tutorial.mld)
3 (libraries jsont jsont.bytesrw json_pointer json_pointer_top))
4
5(documentation
6 (package json-pointer)
7 (mld_files index tutorial))
8
9; Standalone tutorial HTML generation
10(rule
11 (alias tutorial)
12 (deps tutorial.mld)
13 (targets page-tutorial.odoc)
14 (action
15 (run odoc compile %{deps})))
16
17(rule
18 (alias tutorial)
19 (deps page-tutorial.odoc)
20 (targets
21 tutorial.html
22 index.html
23 odoc.css
24 highlight.pack.js
25 katex.min.css
26 katex.min.js
27 odoc_search.js
28 (dir fonts))
29 (mode
30 (promote (until-clean)))
31 (action
32 (progn
33 (run odoc html-generate %{deps} -o .)
34 (run odoc support-files -o .)
35 (with-stdout-to index.html
36 (run odoc-xo tutorial.html)))))