Thicket thicket
ocaml
REPOS 9

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

W45.2024 · 4–10 Novocaml/odoc

Features

odoc-md (PR #1234, opened): New package processing standalone Markdown files into page-*.odoc pages for odoc rendering. Based on cmarkit; requires OCaml ≥ 4.14. No ocamldoc reference syntax in Markdown.

odoc hierarchy (PR #1233, merged): Relaxes the disjointness constraint between -P and -L roots. A page root and a library root may now overlap (e.g. -P pkg/ with -L pkg/lib/), enabling nested page-and-library layouts.

odoc tags (PR #1239, opened): @-tags now end implicitly at a blank line, section heading, or next tag, matching shorthand-list behaviour. Addresses #1138.

odoc driver (PR #1236, merged): Implements the relaxed page/library hierarchy in the driver, removing the intermediate lib directory from the output tree.

Fixes

odoc voodoo (PR #1241, opened): Splits the compile and link phases so documentation links can resolve across non-direct dependencies. Fixes layout errors in voodoo-generated pages.

odoc API docs (PR #1238, merged): Documents the result return type of Url.from_identifier, clarifying when an Error value is produced.

Compatibility and Releases

odoc_driver (PR #1237, merged): Splits the single odoc_driver command into three sub-commands (dune, opam, and a generic mode). Existing invocations using the old flat interface will need updating.

odoc docs (PR #1209, merged): Adds a driving page covering the odoc 3.0 driver CLI, including how to generate docs for opam-installed packages.