forked from
anil.recoil.org/odoc-xo
Convert OCaml odoc mld files to x-ocaml compatible format HTML
1(lang dune 3.20)
2
3(name odoc-xo)
4
5(generate_opam_files true)
6
7(license ISC)
8(authors "Anil Madhavapeddy")
9(homepage "https://tangled.org/anil.recoil.org/odoc-xo")
10(maintainers "Anil Madhavapeddy <anil@recoil.org>")
11(bug_reports "https://tangled.org/anil.recoil.org/odoc-xo/issues")
12(maintenance_intent "(latest)")
13
14(package
15 (name odoc-xo)
16 (synopsis "Transform odoc HTML to use x-ocaml web components")
17 (description
18 "A command-line tool that transforms HTML documents generated by odoc \
19 to use interactive x-ocaml web components for OCaml code blocks. \
20 It finds all <pre class=\"language-ocaml\"> blocks and replaces them \
21 with <x-ocaml> elements, injecting necessary scripts and styles.")
22 (depends
23 (ocaml (>= 5.1.0))
24 (cmdliner (>= 1.2.0))
25 (eio (>= 1.0))
26 (eio_main (>= 1.0))
27 (html5rw (>= 0.1.0))
28 (bytesrw-eio (>= 0.1.0))
29 (odoc :with-doc)))