Tools covers builds, package management, editors, documentation and JavaScript compilation.
W50.2024 · 9–15 Dec/ocaml/odoc
Features
Odoc (Sherlodoc merge): Sherlodoc is now maintained within the Odoc repository and released with the same version numbers. Replaces the separate sherlodoc package. (#1263)
Odoc --suppress-warnings: New flag marks documentation elements as not raising warnings, preventing warnings from dependencies or functor expansions from leaking into a package's API docs. (#1260)
Odoc driver: JSON output is generated only when --generate-json is passed, reducing build time for users who do not need it. Also fixes incorrect generation-count reporting. (#1262)
Odoc sidebar: The sidebar is now generated from a unified hierarchy of modules, pages, and sources rather than separate lists. Breadcrumbs and sidebar structure now correspond. (#1251)
Odoc documentation: The cheatsheet gains examples for images (including asset inclusion) and cross-package linking to fmt and cmdliner. (#1264)
Fixes
Odoc remap mode: Fixes issues in remap mode. (#1265)
Compatibility and Releases
Odoc --home-breadcrumb: The driver option previously named --escape is renamed to --home-breadcrumb. Scripts using the old name must be updated. (#1258)
Odoc reference resolution (proposal): Open draft proposes resolving cross-references at load time, before expansions are computed, to prevent references from resolving to wrong targets. Planned post-3.0. (#1261)