diff --git a/docs/babel.config.js b/docs/babel.config.js index d7a30a01f913..10357325fe5e 100644 --- a/docs/babel.config.js +++ b/docs/babel.config.js @@ -11,7 +11,6 @@ const alias = { '@mui/x-charts': '../packages/x-charts/src', '@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', diff --git a/docs/next.config.mjs b/docs/next.config.mjs index 31b9a4a0b102..b984734264de 100644 --- a/docs/next.config.mjs +++ b/docs/next.config.mjs @@ -81,10 +81,6 @@ export default withDocsInfra({ ...config.resolve, alias: { ...config.resolve.alias, - '@mui/docs': path.resolve( - currentDirectory, - '../node_modules/@mui/monorepo/packages/mui-docs/src', - ), docs: path.resolve(currentDirectory, '../node_modules/@mui/monorepo/docs'), docsx: path.resolve(currentDirectory, '../docs'), }, diff --git a/docs/package.json b/docs/package.json index 75a7b5f3ee77..5c0276d17e9e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -26,6 +26,7 @@ "@emotion/react": "^11.11.4", "@emotion/server": "^11.11.0", "@emotion/styled": "^11.11.0", + "@mui/docs": "https://pkg.csb.dev/mui/material-ui/commit/37466089/@mui/docs", "@mui/icons-material": "^5.15.9", "@mui/joy": "^5.0.0-beta.27", "@mui/lab": "^5.0.0-alpha.165", diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 12431dba8223..640700a9ce19 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -7,7 +7,6 @@ module.exports = { resolve: { modules: [__dirname, 'node_modules'], alias: { - '@mui/docs': path.resolve(__dirname, './node_modules/@mui/monorepo/packages/mui-docs/src'), '@mui/x-data-grid': path.resolve(__dirname, './packages/x-data-grid/src'), '@mui/x-data-grid-generator': path.resolve(__dirname, './packages/x-data-grid-generator/src'), '@mui/x-data-grid-pro': path.resolve(__dirname, './packages/x-data-grid-pro/src'), diff --git a/yarn.lock b/yarn.lock index f6bb4b7a86e3..a0292c763c0e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1930,6 +1930,15 @@ resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.9.tgz#c29138c70cc0fb49cd909c29beef3fb0647e5af7" integrity sha512-CSDpVevGaxsvMkiYBZ8ztki1z/eT0mM2MqUT21eCRiMz3DU4zQw5rXG5ML/yTuJF9Z2Wv9SliIeaRAuSR/9Nig== +"@mui/docs@https://pkg.csb.dev/mui/material-ui/commit/37466089/@mui/docs": + version "5.15.13" + resolved "https://pkg.csb.dev/mui/material-ui/commit/37466089/@mui/docs#85a033168f755ec320f5d9e5a71415ced47e83b3" + dependencies: + "@babel/runtime" "^7.23.9" + clsx "^2.1.0" + nprogress "^0.2.0" + prop-types "^15.8.1" + "@mui/icons-material@^5.15.9": version "5.15.9" resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.9.tgz#8d11839d35cf3cfd62df40934d8e9485f66be620"