Skip to content

Commit

Permalink
[docs] Copyedit pages.ts navigation (#14782)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapache-salvaje authored Oct 1, 2024
1 parent 591a4da commit df8ee29
Showing 1 changed file with 14 additions and 23 deletions.
37 changes: 14 additions & 23 deletions docs/data/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ const pages: MuiPage[] = [
{
pathname: '/x/common-features-group',
title: 'Common concepts',
children: [
{ pathname: `/x/common-concepts/custom-components`, title: 'Custom slots and subcomponents' },
],
children: [{ pathname: `/x/common-concepts/custom-components`, title: 'Custom subcomponents' }],
},
{
pathname: '/x/react-data-grid-group',
Expand Down Expand Up @@ -94,7 +92,7 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-data-grid/export' },
{ pathname: '/x/react-data-grid/clipboard', title: 'Copy and paste', newFeature: true },
{ pathname: '/x/react-data-grid/overlays', title: 'Overlays' },
{ pathname: '/x/react-data-grid/components', title: 'Custom slots and subcomponents' },
{ pathname: '/x/react-data-grid/components', title: 'Custom subcomponents' },
{
pathname: '/x/react-data-grid/style-group',
title: 'Style',
Expand All @@ -108,17 +106,10 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-data-grid/virtualization' },
{ pathname: '/x/react-data-grid/accessibility' },
{ pathname: '/x/react-data-grid/performance' },
{
pathname: '/x/react-data-grid-group-pivot',
title: 'Group & Pivot',
plan: 'pro',
children: [
{ pathname: '/x/react-data-grid/tree-data', plan: 'pro' },
{ pathname: '/x/react-data-grid/row-grouping', plan: 'premium' },
{ pathname: '/x/react-data-grid/aggregation', plan: 'premium' },
{ pathname: '/x/react-data-grid/pivoting', plan: 'premium', planned: true },
],
},
{ pathname: '/x/react-data-grid/tree-data', plan: 'pro' },
{ pathname: '/x/react-data-grid/row-grouping', plan: 'premium' },
{ pathname: '/x/react-data-grid/aggregation', plan: 'premium' },
{ pathname: '/x/react-data-grid/pivoting', plan: 'premium', planned: true },
{
pathname: '/x/react-data-grid/server-side-data-group',
title: 'Server-side data',
Expand Down Expand Up @@ -149,7 +140,7 @@ const pages: MuiPage[] = [
],
},
{
pathname: '/x/react-data-grid/advanced',
pathname: '/x/react-data-grid/custom-behavior',
children: [
{ pathname: '/x/react-data-grid/api-object', title: 'API object' },
{ pathname: '/x/react-data-grid/events' },
Expand All @@ -169,7 +160,7 @@ const pages: MuiPage[] = [
},
{
pathname: '/x/api/data-grid-group',
title: 'API Reference',
title: 'API reference',
children: [
{ pathname: '/x/api/data-grid', title: 'Index' },
{
Expand Down Expand Up @@ -332,7 +323,7 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-date-pickers/fields', title: 'Field components' },
{
pathname: '/x/api/date-pickers-group',
title: 'API Reference',
title: 'API reference',
children: [{ pathname: '/x/api/date-pickers', title: 'Index' }, ...pickersComponentApi],
},
],
Expand Down Expand Up @@ -371,7 +362,7 @@ const pages: MuiPage[] = [
children: [
{
pathname: '/x/react-date-pickers/custom-components',
title: 'Custom slots and subcomponents',
title: 'Custom subcomponents',
},
{ pathname: '/x/react-date-pickers/custom-layout' },
{ pathname: '/x/react-date-pickers/custom-field' },
Expand Down Expand Up @@ -447,18 +438,18 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-charts/legend' },
{ pathname: '/x/react-charts/stacking' },
{ pathname: '/x/react-charts/styling' },
{ pathname: '/x/react-charts/tooltip', title: 'Tooltip & Highlights' },
{ pathname: '/x/react-charts/tooltip', title: 'Tooltips and highlights' },
{
pathname: '/x/react-charts/zoom-and-pan',
title: 'Zoom & Pan',
title: 'Zooming and panning',
plan: 'pro',
unstable: true,
},
],
},
{
pathname: '/x/api/charts-group',
title: 'API Reference',
title: 'API reference',
children: [
...chartsComponentApi,
{
Expand Down Expand Up @@ -530,7 +521,7 @@ const pages: MuiPage[] = [
},
{
pathname: '/x/api/tree-view-group',
title: 'API Reference',
title: 'API reference',
children: [...treeViewComponentApi],
},
],
Expand Down

0 comments on commit df8ee29

Please sign in to comment.