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-infra] Fix footer links to link to the main domain #40373

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Dec 31, 2023

We can't have the links be a relative URL /blog/ they need to be an absolute URL https://mui.com/blog/. This is because once the current version of the docs is archived, e.g. to a subdomain: https://v4.mui.com/, we don't want the links to the blog to point to https://v4.mui.com/blog/


Future. Some docs like Hashicorp store their docs as subfolders https://developer.hashicorp.com/terraform/language/v1.7.x, we could do this, it's not hard, allowing to revert this PR, but we don't do it currently. I have no idea if a subfolder is better than a subdomain for historized docs, we never really poured much thought into it.

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work docs Improvements or additions to the documentation labels Dec 31, 2023
@mui-bot
Copy link

mui-bot commented Dec 31, 2023

Netlify deploy preview

https://deploy-preview-40373--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against ff5b2c0

@danilo-leal danilo-leal added scope: docs-infra Specific to the docs-infra product and removed docs Improvements or additions to the documentation labels Jan 2, 2024
@danilo-leal danilo-leal changed the title [docs] Fix footer links to link to the main domain [docs-infra] Fix footer links to link to the main domain Jan 2, 2024
Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

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

Got it — good call! 👍

@danilo-leal danilo-leal merged commit d710804 into mui:master Jan 2, 2024
23 checks passed
@oliviertassinari oliviertassinari deleted the fix-blog-link branch January 2, 2024 17:34
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: docs-infra Specific to the docs-infra product
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants