-
Notifications
You must be signed in to change notification settings - Fork 2
update redirects #6
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
base: main
Are you sure you want to change the base?
Conversation
} else if (path.startsWith("/esp-hal/esp-wifi")) { | ||
window.location.href = "https://docs.espressif.com/projects/rust/esp-wifi/latest/"; | ||
window.location.href = "https://docs.espressif.com/projects/rust/esp-radio/latest/"; | ||
} else if (path.startsWith("/esp-hal/esp-hal-embassy") || path.startsWith("/projects/rust/esp-hal-embassy")) { |
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.
I don't think there are any links out there matching path.startsWith("/projects/rust/esp-hal-embassy")
🤔
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.
https://docs.espressif.com/projects/rust/esp-hal-embassy/0.9.0/index.html will 404 once we remove the package (well, I guess it won't, but we might remove those files at some point in the future), so I added it here.
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.
ah yes - but we only get to this 404 handler via https://esp-rs.github.io/ - I think it's something for esp-rs/esp-hal#3388
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.
Oh yeah, of course 🤦♂️. I'll drop a comment in the PR for esp-rs/esp-hal#3388 and let's see if we can add it there.
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 if we remove the /projects/rust/esp-hal-embassy
check (it doesn't hurt but looks confusing)
Drafting as we need to do the releases first