···11+opam-version: "2.0"
22+version: "dev"
33+synopsis: "Parser for ocaml documentation comments"
44+description: """
55+Odoc_parser is a library for parsing the contents of OCaml documentation
66+comments, formatted using 'odoc' syntax, an extension of the language
77+understood by ocamldoc."""
88+maintainer: ["Jon Ludlam <jon@recoil.org>"]
99+authors: ["Anton Bachin <antonbachin@yahoo.com>"]
1010+license: "ISC"
1111+homepage: "https://github.com/ocaml/odoc"
1212+bug-reports: "https://github.com/ocaml/odoc/issues"
1313+doc: "https://ocaml.github.io/odoc/odoc_parser"
1414+depends: [
1515+ "dune" {>= "3.21"}
1616+ "ocaml" {>= "4.08.0" & < "5.5"}
1717+ "astring"
1818+ "camlp-streams"
1919+ "ppx_expect" {with-test}
2020+ "sexplib0" {with-test}
2121+]
2222+build: [
2323+ ["dune" "subst"] {dev}
2424+ [
2525+ "dune"
2626+ "build"
2727+ "-p"
2828+ name
2929+ "-j"
3030+ jobs
3131+ "@install"
3232+ # Tests are not all associated with a package and would be run if using the
3333+ # default '@runtest'.
3434+ "@src/parser/runtest" {with-test}
3535+ ]
3636+]
3737+x-maintenance-intent: ["(latest)"]
3838+3939+4040+dev-repo: "git+https://tangled.org/jon.recoil.org/odoc"
4141+url {
4242+ src: "git+https://tangled.org/jon.recoil.org/odoc"
4343+}
+93
packages/odoc/odoc.dev/opam
···11+opam-version: "2.0"
22+33+version: "dev"
44+homepage: "https://github.com/ocaml/odoc"
55+doc: "https://ocaml.github.io/odoc/"
66+bug-reports: "https://github.com/ocaml/odoc/issues"
77+license: "ISC"
88+99+maintainer: [
1010+ "Daniel Bünzli <daniel.buenzli@erratique.ch>"
1111+ "Jon Ludlam <jon@recoil.org>"
1212+ "Jules Aguillon <juloo.dsi@gmail.com>"
1313+ "Paul-Elliot Anglès d'Auriac <paul-elliot@tarides.com>"
1414+]
1515+authors: [
1616+ "Anton Bachin <antonbachin@yahoo.com>"
1717+ "Daniel Bünzli <daniel.buenzli@erratique.ch>"
1818+ "David Sheets <sheets@alum.mit.edu>"
1919+ "Jon Ludlam <jon@recoil.org>"
2020+ "Jules Aguillon <juloo.dsi@gmail.com>"
2121+ "Leo White <leo@lpw25.net>"
2222+ "Lubega Simon <lubegasimon73@gmail.com>"
2323+ "Paul-Elliot Anglès d'Auriac <paul-elliot@tarides.com>"
2424+ "Thomas Refis <trefis@janestreet.com>"
2525+]
2626+2727+synopsis: "OCaml Documentation Generator"
2828+description: """
2929+**odoc** is a powerful and flexible documentation generator for OCaml. It reads *doc comments*, demarcated by `(** ... *)`, and transforms them into a variety of output formats, including HTML, LaTeX, and man pages.
3030+3131+- **Output Formats:** Odoc generates HTML for web browsing, LaTeX for PDF generation, and man pages for use on Unix-like systems.
3232+- **Cross-References:** odoc uses the `ocamldoc` markup, which allows to create links for functions, types, modules, and documentation pages.
3333+- **Link to Source Code:** Documentation generated includes links to the source code of functions, providing an easy way to navigate from the docs to the actual implementation.
3434+- **Code Highlighting:** odoc automatically highlights syntax in code snippets for different languages.
3535+3636+odoc is part of the [OCaml Platform](https://ocaml.org/docs/platform), the recommended set of tools for OCaml.
3737+"""
3838+3939+4040+depends: [
4141+ "odoc-parser" {= version}
4242+ "astring"
4343+ "base64"
4444+ "cmdliner" {>= "1.3.0"}
4545+ "cppo" {build & >= "1.1.0"}
4646+ "dune" {>= "3.18.0"}
4747+ "dune-site" {>= "3.18.0"}
4848+ "fpath" {>= "0.7.3"}
4949+ "ocaml" {>= "4.08.0" & < "5.5"}
5050+ "tyxml" {>= "4.4.0"}
5151+ "fmt"
5252+ "crunch" {>= "1.4.1"}
5353+ "ocamlfind" {with-test}
5454+ "yojson" {>= "2.1.0" & with-test}
5555+ "sexplib0" {with-test}
5656+ "conf-jq" {with-test}
5757+ "ppx_expect" {with-test}
5858+ "bos" {with-test}
5959+ "mdx" {with-test}
6060+]
6161+6262+x-dune-sites: [["lib" "extensions"]]
6363+6464+conflicts: [ "ocaml-option-bytecode-only" ]
6565+6666+x-extra-doc-deps: [
6767+ "odoc-driver" {= version}
6868+ "sherlodoc" {= version}
6969+ "odig"
7070+]
7171+7272+build: [
7373+ ["dune" "subst"] {dev}
7474+ [
7575+ "dune"
7676+ "build"
7777+ "-p"
7878+ name
7979+ "-j"
8080+ jobs
8181+ "--promote-install-files=false"
8282+ "@install"
8383+ "@runtest" {with-test}
8484+ "@doc" {with-doc}
8585+ ]
8686+ ["dune" "install" "-p" name "--create-install-files" name]
8787+]
8888+x-maintenance-intent: ["(latest)"]
8989+9090+dev-repo: "git+https://tangled.org/jon.recoil.org/odoc"
9191+url {
9292+ src: "git+https://tangled.org/jon.recoil.org/odoc"
9393+}