Odoc docs

search: show the library alongside the package master

The driver writes HTML at <pkg>/<lib>/<Module>/..., so the library is the second path component of an entry's url. Add it to the result and print it before the package, e.g. "stdlib (ocaml-compiler)". Collapsed when it adds nothing (a library named after its package, or a doc/page entry with no library — gated on the entry kind). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>


+20 -3
3 changed files