Tools covers builds, package management, editors, documentation and JavaScript compilation.
W12.2025 · 17–23 Mar/ocaml/odoc
Features
odoc 3.0.0: Released with hierarchical page structure, Sherlodoc full-text search, experimental driver, cross-package references, extract-code subcommand, odoc-md, frontmatter for .mld pages, and image/video/audio asset support. Release notes
odoc .mld code blocks: Open proposal to add a @hidden info-string tag to suppress code blocks from rendering while keeping them available to extract-code. #1331
odoc syntax highlighting: Open request to add diff to the bundled highlight.js languages for incremental code examples in manuals. #1336
Fixes
odoc 3.0.0 local ToC: Open bug: local table of contents renders incorrectly between 800px and 1600px when no global ToC is present; CSS specificity issue in odoc.css. #1335
odoc LaTeX backend: Open PR: heading labels use only the short label while cross-references use the full module path; fix aligns them. #1332
Compatibility and Releases
odoc 3.0.0 CLI: Breaking changes: odoc link requires -L, -P, --current-package; compile replaced by compile-impl; new compile-index and sidebar-generate commands. Release notes
odoc 3.0.0 hidden fields: Types containing hidden fields (e.g. from dune qualified subdirs) now produce a fatal error; fix by adding a @canonical tag to the type definition. #1334