Thicket thicket
ocaml
REPOS 9

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

W33.2025 · 11–17 Augocaml/odoc

Features

Odoc (proposal): #1374 proposes replacing the "Source" text link with a hyperlink on the identifier itself in API docs, enabling bidirectional navigation between documentation pages and rendered source. Active discussion covers ambiguity when one implementation backs multiple interface entries.

Odoc (proposal): #1378 requests admonition blocks ({note}, {warn}, {important}, etc.) for callout-style documentation, similar to GitHub and React docs.

Odoc (proposal): #1379 requests line-range highlighting within code blocks via a highlight="4:6" attribute on {@ocaml [...]} directives.

Odoc (proposal): #1377 requests showing a function's signature in a tooltip when hovering a cross-reference link in rendered docs.

Odoc (proposal): #1380 requests a clipboard button on code blocks for one-click copying of plain text.

Fixes

Odoc (open PR): #1375 by jonludlam fixes a bug where the file magic-string check succeeded when the stored magic was a prefix of the actual one (e.g. odoc-3.1.0 vs odoc-3.1.0-2-g12345789), causing a subsequent unmarshalling failure. The fix writes the expected length alongside the magic string.