[docs-infra] Update Release Instructions and Search Index v7#48109
Conversation
Netlify deploy previewhttps://deploy-preview-48109--material-ui.netlify.app/ Bundle size report
|
|
|
||
| ```bash | ||
| git push -f material-ui-docs HEAD:v8 HEAD:latest | ||
| git fetch material-ui-docs v7 v8 |
There was a problem hiding this comment.
I'm afraid that having special deployment for one branch is going to confuse someone some day soon. Wouldn't you really consider just creating a v8.x branch that we push to v8 on docs? I understand the cost for us is to maintain 1 more branch which is going to be very close (if not the same for a while). I wouldn't also automatically assume we will never want to add changes the docs for v8 specifically that we don't want on v7.
The rules would be very straightforward:
- material-ui:vx.y = source of truth, bring the branch into desired state that you want to be on the docs
- for each branch: deploy = push material-ui:vx.y to material-ui-docs:vx
That way we never have to explain the little exception around v7/v8 to new people, and we reduce the chance of someone messing up that forgot to read this specific README. This will be especially helpful 1 year from now when we're two majors further and everybody has forgotten about this little caveat.
Set search index to v7
Set proxy to MUI X v7
Update deploy instructions to push to v7 branch