odoc is a documentation generator for OCaml. It reads doc comments , delimited with (** ... *), and outputs HTML, LaTeX and man pages.
odoc with OCamlTo install odoc with opam:
$ opam install odocFor more information, see the odoc website or build the docs locally yourself from the odoc directory:
git clone https://github.com/ocaml/odoc.git
cd odoc
opam pin add . -n
opam install mdx bos
opam install --deps-only -t odoc
dune build @docgenand find the docs in _build/default/doc/html/index.html
odoc is most discussed on discuss.ocaml.org's Ecosystem category with the odoc tag. Please also don't hesitate to open an issue.
Any question asked, issue opened, feedback offered, is a contribution to odoc, and the project and all its users are thankful :) If you'd like to contribute code specifically, you may find the guide in doc/contributing.mld helpful.