Skip to content

Commit

Permalink
Fix typo in doc/driver.mld
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume "Liam" Petiot <[email protected]>
  • Loading branch information
panglesd and gpetiot committed Jul 12, 2024
1 parent 4b0090e commit fd15b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/driver.mld
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ Some more details about the json format:
{- ["html"], also a string. It is the html odoc uses to display the entry in the search results.}}}
{- Additionally, the ["occurrences"] field exists if and only if the [--occurrences] flag was given to the [odoc compile-index] command. When it exists, it contains a json object, with two fields:
{ul
{- ["direct"], an integer. It is the number of direct use of the entry. For instance, [open M] and [Make(M)] contain direct uses of [M], while [1 + M.v] contains an indirect use of [M] and a direct use of [M.v].}
{- ["direct"], an integer. It is the number of direct uses of the entry. For instance, [open M] and [Make(M)] contain direct uses of [M], while [1 + M.v] contains an indirect use of [M] and a direct use of [M.v].}
{- ["indirect"], an integer containing the number of indirect uses of the entry.}}}}}}

Search engines written in OCaml can also call the [Odoc_model.Fold.unit] and [Odoc_model.Fold.page] function, in conjunction with [Odoc_search.Entry.entry_of_item] in order to get an OCaml value of each element to be indexed.
Expand Down

0 comments on commit fd15b16

Please sign in to comment.