Skip to content

Commit

Permalink
[new release] mdx (2.4.1)
Browse files Browse the repository at this point in the history
CHANGES:

#### Changed

- Revert realworldocaml/mdx#446: "Allow execution of included OCaml code blocks" (realworldocaml/mdx#451, @gpetiot).
  Included OCaml code blocks preserve their pre-2.4.0 behavior.
  • Loading branch information
gpetiot committed Mar 12, 2024
1 parent f2800c5 commit 94ece9a
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions packages/mdx/mdx.2.4.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
opam-version: "2.0"
synopsis: "Executable code blocks inside markdown files"
description: """
`ocaml-mdx` allows to execute code blocks inside markdown files.
There are (currently) two sub-commands, corresponding
to two modes of operations: pre-processing (`ocaml-mdx pp`)
and tests (`ocaml-mdx test`).

The pre-processor mode allows to mix documentation and code,
and to practice "literate programming" using markdown and OCaml.

The test mode allows to ensure that shell scripts and OCaml fragments
in the documentation always stays up-to-date."""
maintainer: ["Thomas Gazagnaire <[email protected]>"]
authors: ["Thomas Gazagnaire <[email protected]>"]
license: "ISC"
homepage: "https://github.com/realworldocaml/mdx"
bug-reports: "https://github.com/realworldocaml/mdx/issues"
depends: [
"dune" {>= "3.5"}
"ocaml" {>= "4.08.0"}
"ocamlfind"
"fmt" {>= "0.8.7"}
"cppo" {build & >= "1.1.0"}
"csexp" {>= "1.3.2"}
"astring"
"logs" {>= "0.7.0"}
"cmdliner" {>= "1.1.0"}
"re" {>= "1.7.2"}
"ocaml-version" {>= "2.3.0"}
"lwt" {with-test}
"camlp-streams"
"result"
"alcotest" {with-test}
"odoc" {with-doc}
]
conflicts: [
"result" {< "1.5"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/realworldocaml/mdx.git"
url {
src:
"https://github.com/realworldocaml/mdx/releases/download/2.4.1/mdx-2.4.1.tbz"
checksum: [
"sha256=1a40cc91cc553ded0a20c98d434354953bdb759ecc91ad36bbb9a7dd0412af13"
"sha512=fbf40bbe6226401b63694f2ac69fa05e5540020a896d94d17ced6f57265cf5d7e6445ef7f0391c21ca2c05615fb9eecd9e6be93ee53d666bfeb400fc554de478"
]
}
x-commit-hash: "e2b6532d0bb34789aaff39429b1f8be3ae931333"

0 comments on commit 94ece9a

Please sign in to comment.