From 8857823ea74de5c8a4fdf75d10207ae51460d21e Mon Sep 17 00:00:00 2001 From: dangreen Date: Sat, 5 Dec 2026 15:55:35 +0400 Subject: [PATCH] docs: call the doughnut chart a donut chart too 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. --- website/src/content/docs/components/doughnut.mdx | 4 +++- website/src/content/docs/examples/doughnut-chart.mdx | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/website/src/content/docs/components/doughnut.mdx b/website/src/content/docs/components/doughnut.mdx index 0f39802d8..3eb7f4326 100644 --- a/website/src/content/docs/components/doughnut.mdx +++ b/website/src/content/docs/components/doughnut.mdx @@ -1,6 +1,6 @@ --- title: "Doughnut" -description: "The Doughnut component of react-chartjs-2 renders a Chart.js doughnut chart in React. See how to use it, its props and an example." +description: "The Doughnut component of react-chartjs-2 renders a Chart.js doughnut (donut) chart in React. See how to use it, its props and an example." sidebar: order: 5 head: @@ -10,6 +10,8 @@ head: import PropsTable from '../../../components/PropsTable.astro' +The `` component renders a doughnut chart, also known as a donut chart. + ## Usage ```jsx diff --git a/website/src/content/docs/examples/doughnut-chart.mdx b/website/src/content/docs/examples/doughnut-chart.mdx index 253c65524..42e76ca38 100644 --- a/website/src/content/docs/examples/doughnut-chart.mdx +++ b/website/src/content/docs/examples/doughnut-chart.mdx @@ -1,15 +1,15 @@ --- title: "Doughnut Chart" -description: "A doughnut chart in React with react-chartjs-2 and Chart.js: one dataset with a color for each segment. See it live and edit it in StackBlitz." +description: "A doughnut chart, or donut chart, in React with react-chartjs-2 and Chart.js: one dataset with a color for each segment. See it live and edit it in StackBlitz." sidebar: order: 9 head: - tag: title - content: "React Doughnut Chart Example | react-chartjs-2" + content: "React Doughnut (Donut) Chart Example | react-chartjs-2" --- import Example from '../../../components/Example.astro' -Example of doughnut chart with the [``](/components/doughnut/) component. +Example of a doughnut chart, also known as a donut chart, with the [``](/components/doughnut/) component.