Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W28.2026 · 6–12 Julocaml/odoc

Features

  • OxCaml mode rendering (open): PR #1454 by @art-w adds rendering of OxCaml mode annotations (@ local, @ unique, etc.) in generated docs, with heuristics to suppress redundant or implied modes. Fixes #1417.

  • include functor display (open): PR #1452 by @Leonidas-from-XIV adds a collapsible section showing that items were included via a functor, following up on #1368. Review notes indicate the current splice approach fails on functor parameters (e.g. I.t); a dummy-module rewrite is proposed.

Compatibility and Releases

  • Remove OCaml < 4.08 code paths (merged): PR #1458 by @fantazio deletes version-gated branches for OCaml versions below 4.08, the minimum already declared in .opam files since odoc 3.1.0. No user-facing behaviour change.

Fixes

  • Spurious "Hidden constructors" warning with Menhir --table (open): Issue #1459 reports that odoc 3.2.1 emits a false "Hidden constructors in type" warning and leaks a mangled MenhirLib__IncrementalEngine.position name when documenting Menhir parsers built with --table. The constructor is rendered but its Lexing.position argument is unresolved.

  • Sibling libraries resolve to wrong module (open): Issue #1450 reports that odoc_driver resolves same-named modules across sibling libraries (e.g. eliom.client / eliom.server) by first-found order. A maintainer proposes restricting odoc compile to compile-deps and using full package union for odoc link; a PR is planned.

  • base documentation build failure with OxCaml (open): Issue #1455 reports Failure("invalid core type") when odoc compile reads a type kind from a cmti produced by the OxCaml compiler.