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 functordisplay (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
.opamfiles 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 mangledMenhirLib__IncrementalEngine.positionname when documenting Menhir parsers built with--table. The constructor is rendered but itsLexing.positionargument is unresolved. -
Sibling libraries resolve to wrong module (open): Issue #1450 reports that
odoc_driverresolves same-named modules across sibling libraries (e.g.eliom.client/eliom.server) by first-found order. A maintainer proposes restrictingodoc compiletocompile-depsand using full package union forodoc link; a PR is planned. -
basedocumentation build failure with OxCaml (open): Issue #1455 reportsFailure("invalid core type")whenodoc compilereads a type kind from a cmti produced by the OxCaml compiler.