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

Move redirects-raw.txt file from frontpage to storybook monorepo #531

Open
kylegach opened this issue Apr 26, 2023 · 0 comments
Open

Move redirects-raw.txt file from frontpage to storybook monorepo #531

kylegach opened this issue Apr 26, 2023 · 0 comments
Assignees

Comments

@kylegach
Copy link
Collaborator

Colocating the redirects with the docs content itself has multiple benefits:

  • Most importantly, it's possible to update the redirects in the same PR that the content is affected
    • This prevents having to coordinate updates across multiple repos, which can be tricky to do without causing 404s and the like at least temporarily
  • This also versions the redirects
    • Only the "latest" version of the docs site has functioning redirects
    • So if you make TOC changes in another version (e.g. 7.0, at the time of writing), you must (currently) only represent those changes in redirects after that version goes stable.
    • If redirects were versioned, they could be updated alongside TOC changes and automatically become active once the release goes stable
    • We could also (possibly) use those versioned redirects to build a final version of redirects that works for the versioned sites, not just the "latest" one
@kylegach kylegach self-assigned this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant