Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build:clean": "rimraf .next && pnpm build",
"build-sw": "node ./scripts/buildServiceWorker.js",
"dev": "next dev",
"deploy": "git fetch upstream master && git push -f material-ui-docs FETCH_HEAD:latest",
"deploy": "git fetch upstream $(git branch --show-current) && git push -f material-ui-docs FETCH_HEAD:latest",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Noticed that master is wrong here. We can use $(git branch --show-current) on master too

"icons": "rimraf --glob public/static/icons/* && node ./scripts/buildIcons.js",
"start": "serve ./export",
"create-playground": "cpy --cwd=scripts playground.template.tsx ../../pages/playground --rename=index.tsx",
Expand Down
10 changes: 5 additions & 5 deletions docs/public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,11 @@ https://v4.material-ui.com/* https://v4.mui.com/:splat 301!
## MUI X
## Unlike the store that expect to be hosted under a subfolder,
## MUI X is configured to be hosted at the root.
/static/x/* https://docs-v7--material-ui-x.netlify.app/static/x/:splat 200
/x/_next/* https://docs-v7--material-ui-x.netlify.app/_next/:splat 200
/x/* https://docs-v7--material-ui-x.netlify.app/x/:splat 200
/r/x-* https://docs-v7--material-ui-x.netlify.app/r/x-:splat 200
/:lang/x/* https://docs-v7--material-ui-x.netlify.app/:lang/x/:splat 200
/static/x/* https://docs-v8--material-ui-x.netlify.app/static/x/:splat 200
/x/_next/* https://docs-v8--material-ui-x.netlify.app/_next/:splat 200
/x/* https://docs-v8--material-ui-x.netlify.app/x/:splat 200
/r/x-* https://docs-v8--material-ui-x.netlify.app/r/x-:splat 200
/:lang/x/* https://docs-v8--material-ui-x.netlify.app/:lang/x/:splat 200

## Toolpad
/toolpad/core/templates/nextjs-dashboard/_next/* https://toolpad-core-nextjs-themed.vercel.app/_next/:splat 200
Expand Down
Loading