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 16d69fb commit 88d204c
Show file tree
Hide file tree
Showing 68 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = {
'error',
{
// https://github.com/import-js/eslint-plugin-import/issues/1739
ignore: ['\\.md\\?@mui/internal-markdown$'],
ignore: ['\\.md\\?muiMarkdown$'],
},
],
'import/no-restricted-paths': [
Expand Down
2 changes: 1 addition & 1 deletion docs/modules.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module '*?@mui/internal-markdown' {
declare module '*?muiMarkdown' {
export const docs;
export const demos;
export const srcComponents;
Expand Down
2 changes: 1 addition & 1 deletion docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default withDocsInfra({
test: /\.md$/,
oneOf: [
{
resourceQuery: /@mui\/markdown/,
resourceQuery: /@muiMarkdown/,
use: [
options.defaultLoaders.babel,
{
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/components/button.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 '../../../data/toolpad/components/button/button.md?@mui/internal-markdown';
import * as pageProps from '../../../data/toolpad/components/button/button.md?muiMarkdown';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

export default function Page() {
return <MarkdownDocs disableAd {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/examples/basic-crud-app.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 '../../../../examples/basic-crud-app/README.md?@mui/internal-markdown';
import * as pageProps from '../../../../examples/basic-crud-app/README.md?muiMarkdown';

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

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

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

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

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

export default function Page() {
return <MarkdownDocs disableAd {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/getting-started/installation.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
demos,
docs,
demoComponents,
} from '../../../data/toolpad/getting-started/installation.md?@mui/internal-markdown';
} from '../../../data/toolpad/getting-started/installation.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs demos={demos} docs={docs} demoComponents={demoComponents} disableAd />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/getting-started/roadmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
demos,
docs,
demoComponents,
} from '../../../data/toolpad/getting-started/roadmap.md?@mui/internal-markdown';
} from '../../../data/toolpad/getting-started/roadmap.md?muiMarkdown';

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

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

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

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

export default function Page() {
return <MarkdownDocs disableAd {...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 '../../../data/toolpad/how-to-guides/connect-to-googlesheets.md?@mui/internal-markdown';
import * as pageProps from '../../../data/toolpad/how-to-guides/connect-to-googlesheets.md?muiMarkdown';

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

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

export default function Page() {
return <MarkdownDocs disableAd {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/how-to-guides/delete-datagrid-row.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 '../../../data/toolpad/how-to-guides/delete-grid-row.md?@mui/internal-markdown';
import * as pageProps from '../../../data/toolpad/how-to-guides/delete-grid-row.md?muiMarkdown';

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

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

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

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

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

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

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

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

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

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

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/reference/components/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from '../../../../data/toolpad/reference/components/autocomplete.md?@mui/internal-markdown';
import * as pageProps from '../../../../data/toolpad/reference/components/autocomplete.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/reference/components/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from '../../../../data/toolpad/reference/components/button.md?@mui/internal-markdown';
import * as pageProps from '../../../../data/toolpad/reference/components/button.md?muiMarkdown';

export default function Page() {
return <MarkdownDocs {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/toolpad/reference/components/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from 'react';
import MarkdownDocs from '@mui/monorepo/docs/src/modules/components/MarkdownDocs';
import * as pageProps from '../../../../data/toolpad/reference/components/chart.md?@mui/internal-markdown';
import * as pageProps from '../../../../data/toolpad/reference/components/chart.md?muiMarkdown';

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

0 comments on commit 88d204c

Please sign in to comment.