Skip to content

fix(site-2): Docs redirect page #8718

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

Merged
merged 7 commits into from
Jun 12, 2023
Merged

fix(site-2): Docs redirect page #8718

merged 7 commits into from
Jun 12, 2023

Conversation

PuruVJ
Copy link
Collaborator

@PuruVJ PuruVJ commented Jun 10, 2023

Until now, the the redirects page /docs was actually not working on the deployed site, but working locally. Its because it has prerender = false to avoid handleMissingID error, which would cause error on deployed version as it would try to fetch the docs .md files on every visit, and the files just don't exist.

This change avoids calling the get_docs_data function altogether

@benmccann
Copy link
Member

@PuruVJ this PR has a merge conflict. Any reason it's marked as draft?

@PuruVJ
Copy link
Collaborator Author

PuruVJ commented Jun 12, 2023

It's not draft 😅

Fixed merge conflict. Vercel build might fail though, none of the typescript changes are working, and prolly wont work until the other PR about updating type gen script is merged

@benmccann benmccann merged commit 744c596 into sites Jun 12, 2023
@benmccann benmccann deleted the fix/docs-redirect-page branch June 12, 2023 20:39
@gtm-nayan gtm-nayan mentioned this pull request Jun 17, 2023
5 tasks
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

Successfully merging this pull request may close these issues.

2 participants