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

[code-infra] Use the @mui/internal-markdown package #12105

Merged
merged 27 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
33d7390
Bump MUI Core
renovate[bot] Feb 28, 2024
901aa04
Fix core breaking change
alexfauquette Feb 28, 2024
bc67bb8
Merge remote-tracking branch 'upstream/next' into renovate/mui-core
alexfauquette Mar 5, 2024
832739e
peer dependencies
alexfauquette Mar 5, 2024
3c6cd49
bump
alexfauquette Mar 7, 2024
9d5a6c9
deduplicate
alexfauquette Mar 7, 2024
937a12e
use @mui/internal-markdown
alexfauquette Mar 7, 2024
1f3d517
update markdown import
alexfauquette Mar 7, 2024
bc40961
Merge remote-tracking branch 'upstream/next' into renovate/mui-core
alexfauquette Mar 7, 2024
b31ebe4
yarn
alexfauquette Mar 7, 2024
5440262
fix
alexfauquette Mar 7, 2024
7bfb4da
fix
alexfauquette Mar 7, 2024
3f0e811
Raise `@mui/material` peerDep to `5.15.13`
LukasTy Mar 14, 2024
e7442f5
Merge remote-tracking branch 'upstream/next' into renovate/mui-core
LukasTy Mar 14, 2024
c0bd95f
Update reference of minimum material version to migrate to
LukasTy Mar 14, 2024
86713a8
Sync `@mui` package versions to latest
LukasTy Mar 14, 2024
b8363e8
install
LukasTy Mar 14, 2024
09d2946
Fix loader
LukasTy Mar 14, 2024
00e60c5
Merge remote-tracking branch 'upstream/next' into renovate/mui-core
LukasTy Mar 15, 2024
2b26651
Merge remote-tracking branch 'upstream/next' into renovate/mui-core
alexfauquette Mar 19, 2024
50d1997
update dependencies
alexfauquette Mar 19, 2024
5bed787
update monorepo
alexfauquette Mar 19, 2024
026e289
rever the haky fix
alexfauquette Mar 19, 2024
bcdd110
deduplicate
alexfauquette Mar 19, 2024
f6827fd
fix typo
alexfauquette Mar 19, 2024
68de06d
fix library new name
alexfauquette Mar 19, 2024
8fd450c
Merge branch 'next' into renovate/mui-core
alexfauquette Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const defaultAlias = {
'@mui/x-date-pickers-pro': resolveAliasPath('./packages/x-date-pickers-pro/src'),
'@mui/x-charts': resolveAliasPath('./packages/x-charts/src'),
'@mui/x-tree-view': resolveAliasPath('./packages/x-tree-view/src'),
'@mui/markdown': '@mui/monorepo/packages/markdown',
'@mui/material-nextjs': '@mui/monorepo/packages/mui-material-nextjs/src',
'@mui-internal/api-docs-builder': resolveAliasPath(
'./node_modules/@mui/monorepo/packages/api-docs-builder',
Expand Down
1 change: 0 additions & 1 deletion docs/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const alias = {
'@mui/x-tree-view': '../packages/x-tree-view/src',
'@mui/x-license': '../packages/x-license/src',
'@mui/docs': '../node_modules/@mui/monorepo/packages/mui-docs/src',
'@mui/markdown': '../node_modules/@mui/monorepo/packages/markdown',
'@mui/monorepo': '../node_modules/@mui/monorepo',
'@mui/material-nextjs': '../node_modules/@mui/monorepo/packages/mui-material-nextjs/src',
'@mui-internal/api-docs-builder': '../node_modules/@mui/monorepo/packages/api-docs-builder',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ In `package.json`, change the version of the charts package to `next`.

## Update `@mui/material` package

To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.0`.
To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.13`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the peerDep to the latest release for #12248 (comment) and the mention in the migration docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is updating @mui/material necessary?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That discussion on Slack is about the @mui/system bump, not @mui/material.
Do we have to do both?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point. 🤔
I'm not sure, haven't looked into it.
But for #12248 to work we'd need the latest @mui/material release. 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is correct, but if we would add a demonstration of that usage in the doc it would become strange to not support it with the least allowed version. 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha.
This still doesn't justify the peer dependency bump IMO, especially in the data grid 🙂
An alternative option would be to add a warning next to the demo, similar to the one we have in https://mui.com/x/react-data-grid/export/#using-a-web-worker
What do you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do see your point. 👌
Depends how we look at it.
I remember a discussion about bumping the peer dependency versions to the latest ones before the stable release. 🤔
They have already been bumped #11692 once.
If others agree, we can keep the existing peer dep version and when needed add the suggested information next to the demo. 👌

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this change (mui/material-ui#40946) released in 5.15.12.
WDYT, would it make sense to bump the peer dep version for it? 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, makes sense to me.

It is a change in minor version only, so it should not cause any breaking changes.
Please update your `@mui/material` package to this or a newer version.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Described below are the steps needed to migrate from v6 to v7.

## Update `@mui/material` package

To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.0`.
To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.13`.
It is a change in minor version only, so it should not cause any breaking changes.
Please update your `@mui/material` package to this or a newer version.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Described below are the steps needed to migrate from v6 to v7.

## Update `@mui/material` package

To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.0`.
To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.13`.
It is a change in minor version only, so it should not cause any breaking changes.
Please update your `@mui/material` package to this or a newer version.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ In `package.json`, change the version of the tree view package to `next`.

## Update `@mui/material` package

To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.0`.
To have the option of using the latest API from `@mui/material`, the package peer dependency version has been updated to `^5.15.13`.
It is a change in minor version only, so it should not cause any breaking changes.
Please update your `@mui/material` package to this or a newer version.

Expand Down
14 changes: 11 additions & 3 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
// @ts-expect-error This expected error should be gone once we update the monorepo
import withDocsInfra from '@mui/monorepo/docs/nextConfigDocsInfra.js';
import { findPages } from './src/modules/utils/find.mjs';
import { LANGUAGES, LANGUAGES_SSR } from './config.js';
import {
LANGUAGES,
LANGUAGES_SSR,
LANGUAGES_IGNORE_PAGES,
LANGUAGES_IN_PROGRESS,
} from './config.js';
import constants from './constants.js';

const currentDirectory = url.fileURLToPath(new URL('.', import.meta.url));
Expand Down Expand Up @@ -97,12 +102,15 @@ export default withDocsInfra({
test: /\.md$/,
oneOf: [
{
resourceQuery: /@mui\/markdown/,
resourceQuery: /muiMarkdown/,
use: [
options.defaultLoaders.babel,
{
loader: require.resolve('@mui/monorepo/packages/markdown/loader'),
loader: require.resolve('@mui/internal-markdown/loader'),
options: {
workspaceRoot,
ignoreLanguagePages: LANGUAGES_IGNORE_PAGES,
languagesInProgress: LANGUAGES_IN_PROGRESS,
env: {
SOURCE_CODE_REPO: options.config.env.SOURCE_CODE_REPO,
LIB_VERSION: options.config.env.LIB_VERSION,
Expand Down
13 changes: 7 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@
"@emotion/react": "^11.11.4",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.9",
"@mui/joy": "^5.0.0-beta.27",
"@mui/lab": "^5.0.0-alpha.165",
"@mui/material": "^5.15.9",
"@mui/styles": "^5.15.9",
"@mui/utils": "^5.15.9",
"@mui/icons-material": "^5.15.13",
"@mui/internal-markdown": "^1.0.0",
"@mui/joy": "^5.0.0-beta.31",
"@mui/lab": "^5.0.0-alpha.168",
"@mui/material": "^5.15.13",
"@mui/styles": "^5.15.13",
"@mui/utils": "^5.15.13",
"@react-spring/web": "^9.7.3",
"@trendmicro/react-interpolate": "^0.5.5",
"@types/lodash": "^4.14.202",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-actions-col-def.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-actions-col-def.md?@mui/markdown';
import * as pageProps from './grid-actions-col-def.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-aggregation-function.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-aggregation-function.md?@mui/markdown';
import * as pageProps from './grid-aggregation-function.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-api.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-api.md?@mui/markdown';
import * as pageProps from './grid-api.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-cell-params.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-cell-params.md?@mui/markdown';
import * as pageProps from './grid-cell-params.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-col-def.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-col-def.md?@mui/markdown';
import * as pageProps from './grid-col-def.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-csv-export-options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-csv-export-options.md?@mui/markdown';
import * as pageProps from './grid-csv-export-options.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-excel-export-options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-excel-export-options.md?@mui/markdown';
import * as pageProps from './grid-excel-export-options.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-export-state-params.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-export-state-params.md?@mui/markdown';
import * as pageProps from './grid-export-state-params.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-filter-item.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-filter-item.md?@mui/markdown';
import * as pageProps from './grid-filter-item.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-filter-model.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-filter-model.md?@mui/markdown';
import * as pageProps from './grid-filter-model.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-filter-operator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-filter-operator.md?@mui/markdown';
import * as pageProps from './grid-filter-operator.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-print-export-options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-print-export-options.md?@mui/markdown';
import * as pageProps from './grid-print-export-options.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-row-class-name-params.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-row-class-name-params.md?@mui/markdown';
import * as pageProps from './grid-row-class-name-params.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-row-params.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-row-params.md?@mui/markdown';
import * as pageProps from './grid-row-params.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-row-spacing-params.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-row-spacing-params.md?@mui/markdown';
import * as pageProps from './grid-row-spacing-params.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/grid-single-select-col-def.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from './grid-single-select-col-def.md?@mui/markdown';
import * as pageProps from './grid-single-select-col-def.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/data-grid/index.js
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 './index.md?@mui/markdown';
import * as pageProps from './index.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/index.js
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 './index.md?@mui/markdown';
import * as pageProps from './index.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/introduction/index.js
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/introduction/overview/overview.md?@mui/markdown';
import * as pageProps from 'docsx/data/introduction/overview/overview.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} disableAd />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/introduction/installation.js
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/introduction/installation/installation.md?@mui/markdown';
import * as pageProps from 'docsx/data/introduction/installation/installation.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} disableAd />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/introduction/licensing.js
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/introduction/licensing/licensing.md?@mui/markdown';
import * as pageProps from 'docsx/data/introduction/licensing/licensing.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} disableAd />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/introduction/roadmap.js
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/introduction/roadmap/roadmap.md?@mui/markdown';
import * as pageProps from 'docsx/data/introduction/roadmap/roadmap.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/introduction/support.js
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/introduction/support/support.md?@mui/markdown';
import * as pageProps from 'docsx/data/introduction/support/support.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} disableAd />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-charts-v6.js
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/migration/migration-charts-v6/migration-charts-v6.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-charts-v6/migration-charts-v6.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-data-grid-v4.js
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/migration/migration-data-grid-v4/migration-data-grid-v4.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-data-grid-v4/migration-data-grid-v4.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-data-grid-v5.js
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/migration/migration-data-grid-v5/migration-data-grid-v5.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-data-grid-v5/migration-data-grid-v5.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-data-grid-v6.js
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/migration/migration-data-grid-v6/migration-data-grid-v6.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-data-grid-v6/migration-data-grid-v6.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-pickers-lab.js
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/migration/migration-pickers-lab/migration-pickers-lab.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-pickers-lab/migration-pickers-lab.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-pickers-v5.js
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/migration/migration-pickers-v5/migration-pickers-v5.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-pickers-v5/migration-pickers-v5.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-pickers-v6.js
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/migration/migration-pickers-v6/migration-pickers-v6.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-pickers-v6/migration-pickers-v6.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-tree-view-lab.js
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/migration/migration-tree-view-lab/migration-tree-view-lab.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-tree-view-lab/migration-tree-view-lab.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/migration/migration-tree-view-v6.js
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/migration/migration-tree-view-v6/migration-tree-view-v6.md?@mui/markdown';
import * as pageProps from 'docsx/data/migration/migration-tree-view-v6/migration-tree-view-v6.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/react-charts/areas-demo.js
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/areas-demo/areas-demo.md?@mui/markdown';
import * as pageProps from 'docsx/data/charts/areas-demo/areas-demo.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/react-charts/axis.js
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/axis/axis.md?@mui/markdown';
import * as pageProps from 'docsx/data/charts/axis/axis.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/react-charts/bar-demo.js
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/bar-demo/bar-demo.md?@mui/markdown';
import * as pageProps from 'docsx/data/charts/bar-demo/bar-demo.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/react-charts/bars.js
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/bars/bars.md?@mui/markdown';
import * as pageProps from 'docsx/data/charts/bars/bars.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/react-charts/components.js
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/components/components.md?@mui/markdown';
import * as pageProps from 'docsx/data/charts/components/components.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down