Skip to content

Commit

Permalink
[docs] Remove "-" in heat-map and tree-map urls (mui#13569)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette authored and DungTiger committed Jul 23, 2024
1 parent aa94886 commit 99e00b3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/data/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ const pages: MuiPage[] = [
subheader: 'Future components',
children: [
{ pathname: '/x/react-charts/radar', planned: true },
{ pathname: '/x/react-charts/tree-map', title: 'Treemap', planned: true },
{ pathname: '/x/react-charts/treemap', title: 'Treemap', planned: true },
{
pathname: '/x/react-charts/heat-map',
pathname: '/x/react-charts/heatmap',
title: 'Heatmap',
plan: 'pro',
planned: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/charts/heat-map/heat-map.md?muiMarkdown';
import * as pageProps from 'docsx/data/charts/heatmap/heatmap.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/charts/tree-map/tree-map.md?muiMarkdown';
import * as pageProps from 'docsx/data/charts/treemap/treemap.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 2 additions & 0 deletions docs/public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@
/x/react-date-pickers/calendar/ /x/react-date-pickers/date-calendar/ 301
/x/react-date-pickers/legacy-date-time-picker/ /x/react-date-pickers/date-time-picker/ 301
# 2024
/x/react-charts/heat-map/ /x/react-charts/heatmap/ 301
/x/react-charts/tree-map/ /x/react-charts/treemap/ 301

# Proxies
4 changes: 2 additions & 2 deletions docs/src/modules/components/ChartComponentsGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ function getComponents() {
title: 'Treemap',
srcLight: '/static/x/component-illustrations/treemap-light.png',
srcDark: '/static/x/component-illustrations/treemap-dark.png',
href: '/x/react-charts/tree-map/',
href: '/x/react-charts/treemap/',
planned: true,
},
{
title: 'Heatmap',
srcLight: '/static/x/component-illustrations/heatmap-light.png',
srcDark: '/static/x/component-illustrations/heatmap-dark.png',
href: '/x/react-charts/heat-map/',
href: '/x/react-charts/heatmap/',
planned: true,
pro: true,
},
Expand Down

0 comments on commit 99e00b3

Please sign in to comment.