Thicket thicket
ocaml
REPOS 9

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

W46.2024 · 11–17 Novocaml/odoc

Features

  • odoc-md (new package): Merged. Processes standalone Markdown files into page-*.odoc for linking and rendering. Requires OCaml ≥ 4.14 (cmarkit dependency). #1234

  • odoc driver compile/link split: Merged. Separates the compile and link phases so documentation in package A can link to package B without a direct dependency. #1241

  • odoc driver -p / -l: Merged. The driver now accepts -p <pkg> (opam package) or -l <lib> (findlib library) to select what to document, including dependencies. #1229

  • odoc @children_order tag: Opened. Declares the display order of child pages via a single-paragraph tag. Supersedes part of the frontmatter work. #1243

  • odoc Html remap: Opened. Adds a mode that generates HTML for selected packages and rewrites cross-package links to their ocaml.org documentation pages. #1248

Fixes

  • odoc tag scoping: Merged. @-tags now end implicitly at a blank line, heading, or next tag, matching shorthand-list behaviour. Fixes #1138. #1239

  • odoc odoc_driver crash: Merged. Packages installed via dune install lack a <pkg>.change file, which previously caused a hard crash. A missing odoc-md dependency is also added. #1249

Compatibility and Releases

  • odoc sidebar and index overhaul: Opened. Unifies page, document, and unit sidebar trees; replaces the unit index hashtable with an ordered tree; splits odoc_search into odoc_search and odoc_index. Supersedes #1220. #1244