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 "-j" jobs] {with-test}
14]
15
16depends: [
17 "ocaml" {>= "4.02.3" & < "4.12.0"}
18 "dune" {>= "2.0"}
19 "dune" {with-test & < "2.8.0"}
20 "ocamlfind" {>= "1.7.2"}
21 "fmt" {>= "0.8.5"}
22 "cppo" {build & >= "1.1.0"}
23 "astring"
24 "logs"
25 "cmdliner" {>= "1.0.0" & < "2.0.0"}
26 "re" {>= "1.7.2"}
27 "result"
28 "ocaml-migrate-parsetree" {>= "1.0.6" & < "2.0.0"}
29 "ocaml-version" {>= "2.3.0"}
30 "odoc"
31 "lwt" {with-test}
32 "alcotest" {with-test}
33 "cmdliner" {with-test & < "1.1.0"}
34]
35
36synopsis: "Executable code blocks inside markdown files"
37description: """
38`ocaml-mdx` allows to execute code blocks inside markdown files.
39There are (currently) two sub-commands, corresponding
40to two modes of operations: pre-processing (`ocaml-mdx pp`)
41and tests (`ocaml-mdx test`).
42
43The pre-processor mode allows to mix documentation and code,
44and to practice "literate programming" using markdown and OCaml.
45
46The test mode allows to ensure that shell scripts and OCaml fragments
47in the documentation always stays up-to-date.
48
49`ocaml-mdx` is released as two binaries called `ocaml-mdx` and `mdx` which are
50the same, mdx being the deprecated name, kept for now for compatibility.
51"""
52x-commit-hash: "84e303587ef9d47b6cff30d921066ceaaae33490"
53url {
54 src:
55 "https://github.com/realworldocaml/mdx/releases/download/1.7.0/mdx-1.7.0.tbz"
56 checksum: [
57 "sha256=270e805d32923dadfaa45f09377a0863d691a2e772bb0c99bf7bd0673518ec6e"
58 "sha512=6ea55660ba3a79e4867a0b3ced2cb6bc8f46c0ce4633114365a929fb465070e46699b05daeeefc08bce83742c0e9931e55ad6cf9376d9b76313a28ebb8d05425"
59 ]
60}