Tools covers builds, package management, editors, documentation and JavaScript compilation.
W10.2025 · 3–9 Mar/ocaml/odoc
Features
odoc-parser: stores raw unprocessed content for code blocks and verbatim sections in the AST. Exposes separate accessors for processed content. (#1325, merged)
odoc: proposes an extract-code command to pull named code blocks from .mld files into a standalone source file. Supports --name and --line-directives flags. (#1326, opened)
Compatibility
odoc: requests excluding modules listed in Dune's (private_modules ...) from generated documentation. Currently produces broken reference links. (#1327, opened)
Fixes
odoc: fixes code-block whitespace stripping. The box model now handles leading-line indentation and verbatim blocks consistently. (#1317, merged)
odoc: outputs compile-phase warnings in addition to link-phase warnings. Surfaces parser diagnostics during dune b @doc. (#1323, merged)
odoc 3.0 beta:@canonical on a module alias generates a 404 link with a duplicated path segment. Affects Dune-generated canonical annotations. (#1324, open)