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.11"}
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 "alcotest" {with-test}
31 "cmdliner" {with-test & < "1.1.0"}
32]
33
34synopsis: "Executable code blocks inside markdown files"
35description: """
36`ocaml-mdx` allows to execute code blocks inside markdown files.
37There are (currently) two sub-commands, corresponding
38to two modes of operations: pre-processing (`ocaml-mdx pp`)
39and tests (`ocaml-mdx test`).
40
41The pre-processor mode allows to mix documentation and code,
42and to practice "literate programming" using markdown and OCaml.
43
44The test mode allows to ensure that shell scripts and OCaml fragments
45in the documentation always stays up-to-date.
46
47`ocaml-mdx` is released as two binaries called `ocaml-mdx` and `mdx` which are
48the same, mdx being the deprecated name, kept for now for compatibility.
49"""
50url {
51 src:
52 "https://github.com/realworldocaml/mdx/releases/download/1.6.0/mdx-1.6.0.tbz"
53 checksum: [
54 "sha256=6b4c51c91953218b5b5b14f8e5d3dd6d0c50995b46c571b97d8b37238457a4a2"
55 "sha512=f86619905828bbdaa8a93d6605308436211e26ac850cad319d92cca971e6f548e5ac07a38d01f8098f87ea7f6a40d0f4bc0c6867c3a416b2b956042423997432"
56 ]
57}