Skip to content

Commit c5f5893

Browse files
committed
[new release] mdx (2.5.0)
CHANGES: #### Added - Support OCaml 5.3 (realworldocaml/mdx#457, @anmonteiro, @samoht, @voodoos) - Support multiple version labels in block headers. The block is active if all the version formulaes are satisfied (realworldocaml/mdx#458, @samoht) #### Fixed - Avoid infinite loop in lexer on unclosed code block (realworldocaml/mdx#444, @edwintorok) - Fix support for skipped blocks in mli and mld files (realworldocaml/mdx#462, @samoht)
1 parent 478596e commit c5f5893

File tree

1 file changed

+63
-0
lines changed
  • packages/mdx/mdx.2.5.0

1 file changed

+63
-0
lines changed

packages/mdx/mdx.2.5.0/opam

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
"lwt" {with-test}
32+
"camlp-streams"
33+
"result"
34+
"alcotest" {with-test}
35+
"odoc" {with-doc}
36+
]
37+
conflicts: [
38+
"result" {< "1.5"}
39+
]
40+
build: [
41+
["dune" "subst"] {dev}
42+
[
43+
"dune"
44+
"build"
45+
"-p"
46+
name
47+
"-j"
48+
jobs
49+
"@install"
50+
"@runtest" {with-test}
51+
"@doc" {with-doc}
52+
]
53+
]
54+
dev-repo: "git+https://github.com/realworldocaml/mdx.git"
55+
url {
56+
src:
57+
"https://github.com/realworldocaml/mdx/releases/download/2.5.0/mdx-2.5.0.tbz"
58+
checksum: [
59+
"sha256=c2da58d7d5182f15c046fb320bb02c16602d2ee7cb99f349e3f4841c26365029"
60+
"sha512=d16d9ec2ac444880c7f6d08181fe055697f25fb405358acee396cd7ecba8011881f1de8b49bfa208d4adcd4904b600f4122d1a47d98bf26a8cb533770dd9350d"
61+
]
62+
}
63+
x-commit-hash: "1f83f73e06233ea8745cd0c9473613d40e6999bc"

0 commit comments

Comments
 (0)