opam-version: "2.0"
synopsis: "Md files into odoc mld files"
description: """
`md2mld` converts a Markdown-format file into the `mld` format used by [odoc](https://github.com/ocaml/odoc) to render HTML documentation or OCaml libraries.  You can use this script to automatically embed a `README.md` file into API documentation for an OCaml  library.

You can use it manually as follows

```
$ md2mld filename.md > outfile.mld
```

In `dune` you can use it to generate an mld file with

```
(rule (with-stdout-to outfile.mld (run md2mld filename.md)))
```

You can see the documentation generated from the latest tagged version of this README at [mseri.github.io/md2mld/md2mld/index.html](http://mseri.github.io/md2mld/md2mld/index.html)."""
maintainer: "Marcello Seri <marcello.seri@gmail.com>"
authors: "Marcello Seri <marcello.seri@gmail.com>"
license: "ISC"
homepage: "https://github.com/mseri/md2mld"
doc: "https://mseri.github.io/md2mld/"
bug-reports: "https://github.com/mseri/md2mld/issues"
depends: [
  "ocaml"
  "dune" {>= "1.4.0"}
  "base-bytes"
  "omd" {< "2.0.0~alpha1"}
]
build: ["dune" "build" "-p" name "-j" jobs]
dev-repo: "git+https://github.com/mseri/md2mld.git"
url {
  src:
    "https://github.com/mseri/md2mld/releases/download/0.3.0/md2mld-0.3.0.tbz"
  checksum: "md5=3b3833921d67f0fe66da6a03e422abf1"
}
