Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Copyedit pages.ts navigation #14782

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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