Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix hard coded URL domain #15329

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Nov 7, 2024

A side quick win I noticed while wanting to help with #15251.

The objective of this change is to:

  • make sure the URLs keep working even when using the docs on a different domain, e.g. localhost and for `pnpm
  • docs:link-check` to catch broken links.

It's relevant for docs versioning too. We use subdomains today, so it would point to the wrong domain. If we moved to do docs versioning with subfolders, it would also have the wrong URL prefix.

@vladmoroz We likely don't want to start thinking now on how we will version Base UI, etc. docs. I have seen it's common to use subfolders (Material UI used subdomains so far), maybe they do this for SEO to reinforce backlinks on a single domain, or maybe to make it impossible to have duplication of other pages, e.g. marketing homepage.
Anyway, creating this page as we have time: https://www.notion.so/mui-org/docs-infra-How-to-version-docs-138cbfe7b66080f78d3bd679deec8fa9.

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Nov 7, 2024
- The `columnVisibilityChange` event was removed. Use [`columnVisibilityModelChange`](https://mui.com/x/react-data-grid/events/#catalog-of-events) instead.
- The `columnVisibilityChange` event was removed. Use [`columnVisibilityModelChange`](https://v6.mui.com/x/react-data-grid/events/#catalog-of-events) instead.
Copy link
Member Author

@oliviertassinari oliviertassinari Nov 7, 2024

Choose a reason for hiding this comment

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

Migration guide, we likely don't want to have to care about keeping those links working, they might not even stay relevant with different majors.

If the filter operator has a [custom `InputComponent`](https://mui.com/x/react-data-grid/filtering/#custom-input-component), the same component is being used for the header filter.
If the filter operator has a [custom `InputComponent`](/x/react-data-grid/filtering/customization/#custom-input-component), the same component is being used for the header filter.
Copy link
Member Author

Choose a reason for hiding this comment

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

That link was broken.

Copy link
Member

Choose a reason for hiding this comment

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

Wasn't caught by the link-check because of the full URL I guess?

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct

@oliviertassinari oliviertassinari merged commit 9b0e411 into mui:master Nov 8, 2024
18 checks passed
@oliviertassinari oliviertassinari deleted the fix-hardcoded-urls branch November 8, 2024 18:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants