My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Skip doc nodes for packages with no documentable libraries

Check has_documentable_libs before creating compile/doc-all nodes
in build_internal_plan. Packages like base-unix.base, ocaml-config,
and ocaml-options-vanilla have no .mli files and would fail inside
odoc_driver_voodoo. Now they simply don't get doc nodes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+3
+3
day11/doc/generate.ml
··· 332 332 hash 333 333 in 334 334 List.iter (fun (node : build) -> 335 + let build_layer = Build.dir ~os_dir node in 336 + if not (Doc_build.has_documentable_libs build_layer) then () 337 + else 335 338 match find_odoc_tool_for_hash node.hash, 336 339 find_odoc_final_for_hash node.hash with 337 340 | None, _ | _, None -> ()