My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

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

Index .mld page prose in sherlodoc

Remove Doc and Page kinds from the pure-documentation filter so that
page-level text content flows into register_doc's tokeniser. The
inner register_entry already skips type-search for untyped kinds and
skips full-name indexing for Doc, so no further changes are needed
for single-entry-per-page search.

Phase 1: one result per page, matched by any word in the page body.
Phase 2 (heading-level anchors) is a separate follow-up documented in
the plan.

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

+1 -1
+1 -1
odoc/sherlodoc/index/load_doc.ml
··· 219 219 let cat = categorize entry in 220 220 let is_pure_documentation = 221 221 match kind with 222 - | Doc | Page _ | Dir | Impl -> true 222 + | Dir | Impl -> true 223 223 | _ -> false 224 224 in 225 225 if is_pure_documentation || cat = `ignore || Odoc_model.Paths.Identifier.is_hidden id