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

allow redirects for when pages are re-named and docs/ is restructured #13

Open
dataders opened this issue Nov 2, 2021 · 1 comment
Open

Comments

@dataders
Copy link
Contributor

dataders commented Nov 2, 2021

say I decided to put training.md in docs/guides/ instead of just docs/. we need a way to redirect so that links out there on the internet don't break.

Looks like Docusaurus has a plugin for this: plugin-client-redirects, and you can see how https://github.com/dbt-labs/docs.getdbt.com handles this with their _redirects file.

@dataders
Copy link
Contributor Author

dataders commented Nov 2, 2021

facebook/docusaurus#2843 makes me think that maybe this isn't possible w/ GitHub pages, and https://github.com/dbt-labs/docs.getdbt.com/ can only do it bc they're hosted on Netlify?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant