From 86bf4af74052d5abc3ed30711fc1a8420ea013a9 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 25 Sep 2026 00:48:44 +0000 Subject: [PATCH 1/3] docs: wrap C API documentation in a section element in `stats/base/dists/bradford/mean` The `## C APIs` heading and its nested intro, usage, notes, and examples blocks were not enclosed in a `
` element, leaving the C documentation at the same level as the JavaScript documentation. Eight of the ten `bradford` packages (80%) enclose the block, as do 1612 of the 1614 packages repo-wide that ship a C implementation alongside a `C APIs` README heading. Because the C intro, usage, notes, and examples blocks sat at the root level, they duplicated the class names of their JavaScript counterparts. Reparenting them under the `c` section removes four latent `duplicate-section` warnings and activates the `remark-lint-expected-html-sections` `c` branch, whose required nested `usage` and `examples` blocks are already present. Also normalize the preceding HTML comment from `C API documentation.` to `C interface documentation.`, matching the same eight siblings, the canonical snippet in `tools/snippets/c.md`, and 1929 of 1930 occurrences repo-wide. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Kb86RxT3YPqc4KzHz4vDfi --- .../@stdlib/stats/base/dists/bradford/mean/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/bradford/mean/README.md b/lib/node_modules/@stdlib/stats/base/dists/bradford/mean/README.md index 41b0140ea148..3f9b9df9f0e1 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/bradford/mean/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/bradford/mean/README.md @@ -117,7 +117,9 @@ logEachMap( 'c: %0.4f, E(X;c): %0.4f', c, mean ); - + + +
## C APIs @@ -201,6 +203,10 @@ int main( void ) { +
+ + +