this repo has no description
1opam-version: "2.0"
2maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
3authors: ["Thomas Gazagnaire <thomas@gazagnaire.org"]
4homepage: "https://github.com/realworldocaml/mdx"
5license: "ISC"
6dev-repo: "git+https://github.com/realworldocaml/mdx.git"
7bug-reports: "https://github.com/realworldocaml/mdx/issues"
8doc: "https://realworldocaml.github.io/mdx/"
9
10build: [
11 ["dune" "subst"] {dev}
12 ["dune" "build" "-p" name "-j" jobs]
13 ["dune" "runtest" "-p" name] {with-test}
14]
15
16depends: [
17 "ocaml" {>= "4.02.3" & < "4.10"}
18 "dune" {>= "1.11"}
19 "ocamlfind" {>= "1.7.2"}
20 "fmt" {>= "0.8.5"}
21 "cppo" {build & >= "1.1.0"}
22 "astring"
23 "logs"
24 "cmdliner" {>= "1.0.0" & < "2.0.0"}
25 "re" {>= "1.7.2"}
26 "result"
27 "ocaml-migrate-parsetree" {>= "1.0.6" & < "2.0.0"}
28 "ocaml-version" {>= "2.3.0"}
29 "lwt" {with-test}
30 "cmdliner" {with-test & < "1.1.0"}
31]
32
33synopsis: "Executable code blocks inside markdown files"
34description: """
35`ocaml-mdx` allows to execute code blocks inside markdown files.
36There are (currently) two sub-commands, corresponding
37to two modes of operations: pre-processing (`ocaml-mdx pp`)
38and tests (`ocaml-mdx test`).
39
40The pre-processor mode allows to mix documentation and code,
41and to practice "literate programming" using markdown and OCaml.
42
43The test mode allows to ensure that shell scripts and OCaml fragments
44in the documentation always stays up-to-date.
45
46`ocaml-mdx` is released as two binaries called `ocaml-mdx` and `mdx` which are
47the same, mdx being the deprecated name, kept for now for compatibility.
48"""
49url {
50 src:
51 "https://github.com/realworldocaml/mdx/releases/download/1.5.0/mdx-1.5.0.tbz"
52 checksum: [
53 "sha256=b68fea7235aa95a407bccea76352a8a32dee0441a72f701f3aa19d4f1cbd853c"
54 "sha512=2853e68f2e91ea36f3f22459ff1cd512237e6380163434e2bd59eee1946d166119663aaafb5acd672cbf285d9f191aee2e39fa5f587cbd41020eeae8815887cf"
55 ]
56}