Skip to content

Commit fc91abd

Browse files
[new release] mdx (2.3.0)
CHANGES: #### Added - Added support for `mld` files (realworldocaml/mdx#423, @jonludlam) #### Changed - Switch to using the parser that toplevel uses (found in a mutable `ref`, instead of always the official OCaml parser). This allows Camlp5's parser to be used with MDX. (realworldocaml/mdx#417, @chetmurthy)
1 parent eb733d3 commit fc91abd

File tree

1 file changed

+62
-0
lines changed
  • packages/mdx/mdx.2.3.0

1 file changed

+62
-0
lines changed

packages/mdx/mdx.2.3.0/opam

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
opam-version: "2.0"
2+
synopsis: "Executable code blocks inside markdown files"
3+
description: """
4+
`ocaml-mdx` allows to execute code blocks inside markdown files.
5+
There are (currently) two sub-commands, corresponding
6+
to two modes of operations: pre-processing (`ocaml-mdx pp`)
7+
and tests (`ocaml-mdx test`).
8+
9+
The pre-processor mode allows to mix documentation and code,
10+
and to practice "literate programming" using markdown and OCaml.
11+
12+
The test mode allows to ensure that shell scripts and OCaml fragments
13+
in the documentation always stays up-to-date."""
14+
maintainer: ["Thomas Gazagnaire <[email protected]>"]
15+
authors: ["Thomas Gazagnaire <[email protected]>"]
16+
license: "ISC"
17+
homepage: "https://github.com/realworldocaml/mdx"
18+
bug-reports: "https://github.com/realworldocaml/mdx/issues"
19+
depends: [
20+
"dune" {>= "3.5"}
21+
"ocaml" {>= "4.08.0"}
22+
"ocamlfind"
23+
"fmt" {>= "0.8.7"}
24+
"cppo" {build & >= "1.1.0"}
25+
"csexp" {>= "1.3.2"}
26+
"astring"
27+
"logs" {>= "0.7.0"}
28+
"cmdliner" {>= "1.1.0"}
29+
"re" {>= "1.7.2"}
30+
"ocaml-version" {>= "2.3.0"}
31+
"odoc-parser" {>= "1.0.0"}
32+
"lwt" {with-test}
33+
"alcotest" {with-test}
34+
"odoc" {with-doc}
35+
]
36+
conflicts: [
37+
"result" {< "1.5"}
38+
]
39+
build: [
40+
["dune" "subst"] {dev}
41+
[
42+
"dune"
43+
"build"
44+
"-p"
45+
name
46+
"-j"
47+
jobs
48+
"@install"
49+
"@runtest" {with-test}
50+
"@doc" {with-doc}
51+
]
52+
]
53+
dev-repo: "git+https://github.com/realworldocaml/mdx.git"
54+
url {
55+
src:
56+
"https://github.com/realworldocaml/mdx/releases/download/2.3.0/mdx-2.3.0.tbz"
57+
checksum: [
58+
"sha256=32a08398100afd2d2e7988bc3b45c9b69971271f7ab708851ded3843c9470661"
59+
"sha512=b16d257fa9e515318dba22a1eb7a19f59c40414cdbeaaee0e48b6384f74b56497fd0e547b234a1329b7334d2fbdbb7c256fdf8406ae1d1f85b49dd5c5025eba2"
60+
]
61+
}
62+
x-commit-hash: "3125899ce5c6c3bd0360b43697f0fd32def7fad5"

0 commit comments

Comments
 (0)