-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: add hvd-docs redirects functionality #2671
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
build-libs/redirects.js
Outdated
// hvd-docs is not hosted on the content API, so we need to use main as the latest sha | ||
const latestContentSha = | ||
repoName === 'hvd-docs' | ||
? 'daf97dfd494470e27acf2b74a95919ac748a54f6' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO before merge: change this SHA to 'main'. Currently this a sha from a commit I made in the hvd-docs repo that is used to test this PR
π¦ Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action π€ This PR introduced no changes to the javascript bundle π |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. ππ»
π Relevant links
ποΈ What
This PR adds redirects functionality for hvd-docs. It works the same way as other product redirects in dev-portal.
π€· Why
There is not currently redirect support for hvd-docs. That team has requested the functionality (see Slack thread)
π§ͺ Testing
/validated-designs
homepageπ Anything else?
The PR has a sha value for the hvd-docs repo that is just for testing. The sha links to a commit that I created on the hvd-docs repo to add an example redirect for testing (See this commit) After PR has been tested by a reviewer, I will change that back to 'main' before merging. See PR comment for more info.