Monorepo management for opam overlays
0
fork

Configure Feed

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

fix: resolve odoc documentation warnings across monorepo

Fix invalid odoc markup in 54 files: convert {\!Module} to {!Module}
in fuzz .mli files, replace inline {v ... v} with [...] code spans,
fix "paragraph should begin on its own line" warnings, escape bare
brackets, and resolve ambiguous docstring placement (warning 50).

+5 -7
+4 -6
lib/opam_repo.ml
··· 47 47 | _ -> None) 48 48 items 49 49 50 - (** Extract package name from a dependency formula value. 51 - Handles cases like: 50 + (** Extract package name from a dependency formula value. Handles cases like: 52 51 - "pkgname" 53 - - "pkgname" {>= "1.0"} 54 - - "pkgname" {with-test} 55 - Returns the package name if found. *) 52 + - "pkgname" [>= "1.0"] 53 + - "pkgname" [with-test] Returns the package name if found. *) 56 54 let rec extract_dep_name (v : OP.value) : string option = 57 55 match v.pelem with 58 56 | OP.String s -> Some s ··· 212 210 in 213 211 String.concat "\n" lines 214 212 215 - (** Replace url { src: "..." } section in content. *) 213 + (** Replace url [src: "..."] section in content. *) 216 214 let replace_url_section content ~new_url = 217 215 let url_src = 218 216 let base =
+1 -1
lib/opam_transform.ml
··· 22 22 in 23 23 String.concat "\n" lines 24 24 25 - (** Remove existing url { ... } section if present *) 25 + (** Remove existing url [...] section if present *) 26 26 let remove_url_section content = 27 27 let lines = String.split_on_char '\n' content in 28 28 let rec process lines in_url_block acc =