Skip to content

Commit

Permalink
Do not use package name in webpack's resouce query
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Feb 26, 2024
1 parent e32b7b8 commit f6ed9e8
Show file tree
Hide file tree
Showing 165 changed files with 165 additions and 225 deletions.
2 changes: 1 addition & 1 deletion docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default withDocsInfra({
test: /\.md$/,
oneOf: [
{
resourceQuery: /@mui\/internal-markdown/,
resourceQuery: /@muiMarkdown/,
use: [
options.defaultLoaders.babel,
{
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/internal-markdown';
import * as pageProps from './grid-actions-col-def.md?muiMarkdown';

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

export default function Page() {
return <MarkdownDocs {...pageProps} />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-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/internal-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/internal-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/internal-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/internal-markdown';
import * as pageProps from './grid-excel-export-options.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
8 changes: 1 addition & 7 deletions docs/pages/x/api/data-grid/grid-export-state-params.js
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
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/internal-markdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-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/internal-markdown';
import * as pageProps from './grid-filter-model.md?muiMarkdown';

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

export default function Page() {
return <MarkdownDocs {...pageProps} />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-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/internal-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/internal-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/internal-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/internal-markdown';
import * as pageProps from './grid-single-select-col-def.md?muiMarkdown';

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

export default function Page() {
return <MarkdownDocs {...pageProps} />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-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/internal-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/internal-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/internal-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/internal-markdown';
import * as pageProps from 'docsx/data/introduction/roadmap/roadmap.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
8 changes: 1 addition & 7 deletions docs/pages/x/introduction/support.js
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/introduction/support/support.md?@mui/internal-markdown';

export default function Page() {
return <MarkdownDocs {...pageProps} disableAd />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-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/internal-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/internal-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/internal-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/internal-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/internal-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/internal-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/internal-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/internal-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
8 changes: 1 addition & 7 deletions docs/pages/x/react-charts/areas-demo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
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/internal-markdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-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/internal-markdown';
import * as pageProps from 'docsx/data/charts/bar-demo/bar-demo.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
8 changes: 1 addition & 7 deletions docs/pages/x/react-charts/bars.js
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/charts/bars/bars.md?@mui/internal-markdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
}
/Users/michal/Projects/mui-x/prettier.config.js
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/internal-markdown';
import * as pageProps from 'docsx/data/charts/components/components.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
8 changes: 1 addition & 7 deletions docs/pages/x/react-charts/composition.js
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/charts/composition/composition.md?@mui/internal-markdown';

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

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

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

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

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

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

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

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

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

0 comments on commit f6ed9e8

Please sign in to comment.