From 53a606ff92a72c0bdc73adcb3b9595e16d06a316 Mon Sep 17 00:00:00 2001 From: Masonlet Date: Thu, 9 Jul 2026 17:18:32 -0400 Subject: [PATCH 1/2] docs: add helper module --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 89948f3..aa18696 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Core library for gh-top-languages — chart generation, SVG output, and paramete | `utils/params.js` | Query parameter parsing and normalization | | `utils/sanitize.js` | HTML entity sanitization | | `charts/geometry.js` | SVG arc path math and segment helpers | +| `charts/helpers.js` | Percent display and colour-resolution helpers | | `charts/legend.js` | Legend element generation | | `charts/layout.js` | Shared layout calculations | | `charts/generate.js` | Chart geometry dispatch, segment and legend generation | From 06d9eb44e102988daca64c2f80da2bf1f420747b Mon Sep 17 00:00:00 2001 From: Masonlet Date: Thu, 9 Jul 2026 17:19:05 -0400 Subject: [PATCH 2/2] docs: add notes about api and builder repos --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index aa18696..3398165 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,12 @@ When the supplied languages sum to less than 100%, `gap_type` controls what fill | grow | Slice angles scaled to fill the circle | Raw values, sum to 100 if all values are rendered | | adapt | Slice angles scaled to fill the circle | Rescaled to sum to 100 | +## API +Easily deploy your own with [@gh-top-languages/api](https://github.com/gh-top-languages/api): a deployable SVG endpoint for READMEs and websites. + +## Builder +Easily customize your charts with [@gh-top-languages/builder](https://github.com/gh-top-languages/builder): an interactive preview and configurator. + ## Installation ### Prerequisites - Node.js 22+