Closed camertron closed 8 months ago
Looks great! I checked out the staging and tested a few.
Q: If I had to add a new component to the doc then I've to add a redirect here as well? or we can create them without redirects?
Thanks @pksjce 😄
Q: If I had to add a new component to the doc then I've to add a redirect here as well? or we can create them without redirects?
No, these redirects are only to help someone find the docs using an old URL, i.e. if they have it bookmarked or saved somewhere. It's nicer than getting a 404 😄
This PR adds redirects for all our React components from the old docsite (https://primer.style/react) to the new one (https://primer.style/). I have tested it in staging and everything looks good 👍
Tracking issue: https://github.com/github/primer/issues/1904