Skip to content

Commit

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

#### Added

- Add support for adding language tags and metadata labels in `mli` files.
  (realworldocaml/mdx#339, realworldocaml/mdx#357, @Julow, @Leonidas-from-XIV)
- Add support for running non-deterministic tests in `dune` MDX 0.2 stanza by
  setting the `MDX_RUN_NON_DETERMINISTIC` environment variable. (realworldocaml/mdx#365,
  realworldocaml/mdx#366, @Leonidas-from-XIV)
  • Loading branch information
Leonidas-from-XIV committed Jan 28, 2022
1 parent f4bd8cd commit e5c62bd
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions packages/mdx/mdx.2.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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" {>= "2.7"}
"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.0.0"}
"re" {>= "1.7.2"}
"result"
"ocaml-version" {>= "2.3.0"}
"odoc-parser" {>= "1.0.0"}
"lwt" {with-test}
"alcotest" {with-test}
"odoc" {with-doc}
]
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.1.0/mdx-2.1.0.tbz"
checksum: [
"sha256=a25d73cbc2ce0c361d727bff8c1c84d299ea279ba342e3002eadeff72eed77fa"
"sha512=05e86a3a4513299433583b8c7cd482edfc513b08002825ae8ec390e537139eb7dd7b9131679d181e62147f9ff0d1814a1936d2e2983fc7530dcb85e347d4b603"
]
}
x-commit-hash: "ac63819b1dcac3ea0246ffe74adffb39cccc77f6"

0 comments on commit e5c62bd

Please sign in to comment.