I was a bit surprised to see that many users were not using setup-ocaml and GitHub Actions to publish odoc to GitHub Pages, even though it was not so hard. So I’m trying to publish some extends in the setup-ocaml repository but I’d like to see how the community actually thinks about this.
The early ones are the following extends:
- Deploy odoc to GitHub Pages
- Check if your doc comments are error-and-warning-free
- Check if your files are well-formatted
- Check if your dune and opam dependencies are consistent
Except for deploy-doc, all extends allow us to do the same thing with just copy and paste on GitHub Actions that the CI infrastructure called ocaml-ci, which we are currently using in the Mirage project, etc.