Skip to content

[docs] Fix versions page#48261

Draft
mnajdova wants to merge 20 commits intomui:masterfrom
mnajdova:docs/versions-page-fixes
Draft

[docs] Fix versions page#48261
mnajdova wants to merge 20 commits intomui:masterfrom
mnajdova:docs/versions-page-fixes

Conversation

@mnajdova
Copy link
Copy Markdown
Member

@mnajdova mnajdova commented Apr 10, 2026

I am thinking of duplicating the vresions pages on Core and X docs, first of all because historically they had different release pace. I've extracted the logic for generating the versions in one place so we can reuse it. Some of the content will be duplicated, but I still think it's fine to have two different pages. The current page can't be in the current shape directly reusable on MUI X anyways.

Todo:

  • make sure the next.mui.com is down before moving forward
  • cherry pick the change in older docs
  • Add back all versions in the select on older versions's docs
  • Do the same PR on MUI X

@mnajdova mnajdova added the docs Improvements or additions to the documentation. label Apr 10, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Apr 10, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against c524629

Comment thread docs/next.config.ts Outdated
'@mui/private-theming': path.resolve(workspaceRoot, 'packages/mui-private-theming/src'),
'@mui/utils': path.resolve(workspaceRoot, 'packages/mui-utils/src'),
'@mui/material-nextjs': path.resolve(workspaceRoot, 'packages/mui-material-nextjs/src'),
'docs/translations': path.resolve(workspaceRoot, 'docs/translations'),
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.

Potentially revert this if it is a local issue

@mnajdova mnajdova changed the title Docs/versions page fixes [docs] Fix versions page Apr 10, 2026
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 13, 2026
@mnajdova mnajdova added v5.x v6.x v7.x cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. v8.x needs cherry-pick The PR should be cherry-picked to master after merge. and removed cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. labels Apr 13, 2026
@Janpot
Copy link
Copy Markdown
Member

Janpot commented Apr 16, 2026

Maybe it makes sense to build this like the notifications? a json on master with all the versions, then fetch it in getStaticProps. Then we don't need to update every old branch when a new version comes out, just deploy it.

@mnajdova
Copy link
Copy Markdown
Member Author

Maybe it makes sense to build this like the notifications? a json on master with all the versions, then fetch it in getStaticProps. Then we don't need to update every old branch when a new version comes out, just deploy it.

With this logic too we don't need to update older versions (once they get to this version). The difference would be that this logic depends on the docs branches, and that one would be manually created. I am ok with that option too, it's simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. needs cherry-pick The PR should be cherry-picked to master after merge. PR: out-of-date The pull request has merge conflicts and can't be merged. v5.x v6.x v7.x v8.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants