Skip to content

docs: call the doughnut chart a donut chart too - #1388

Draft
dangreen wants to merge 1 commit into
docs/faq-typescript-plugin-optionsfrom
docs/donut-chart
Draft

dangreen wants to merge 1 commit into
docs/faq-typescript-plugin-optionsfrom
docs/donut-chart

Conversation

@dangreen

@dangreen dangreen commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Changes

People search for a "react donut chart", but the website used only "doughnut", the word of Chart.js. The pages of the doughnut chart now name both:

  • the Doughnut Chart example: the title becomes "React Doughnut (Donut) Chart Example | react-chartjs-2", and the description and the text say "doughnut chart, or donut chart";
  • the Doughnut component: the description says "doughnut (donut) chart", and a new first sentence says that the component renders "a doughnut chart, also known as a donut chart". The title stays as it is.

The headings and the sidebar do not change.

Checked locally

  • The website builds with 0 errors with the whole stack.
  • The squash message passes commitlint.

Stack

  1. docs: explain how to type the options of a custom plugin #1387
  2. docs: call the doughnut chart a donut chart too #1388 ← this PR
  3. docs: keep the sandboxes of the examples out of search results #1389

Merge in this order. When a PR is merged, GitHub retargets the next one to master: rebase it onto master before merging, so that it carries only its own commit.

🤖 Generated with Claude Code

People search for a "react donut chart", but the pages used only the word of Chart.js. Name
both in the title and the text of the example and in the description of the component.
@codecov

codecov Bot commented Dec 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.97%. Comparing base (e07556c) to head (8857823).

Additional details and impacted files
@@                         Coverage Diff                         @@
##           docs/faq-typescript-plugin-options    #1388   +/-   ##
===================================================================
  Coverage                               93.97%   93.97%           
===================================================================
  Files                                       3        3           
  Lines                                      83       83           
  Branches                                   20       20           
===================================================================
  Hits                                       78       78           
  Misses                                      3        3           
  Partials                                    2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant