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

Back button doesn't work from error_codes/error-index.html #106485

Closed
matthagan15 opened this issue Jan 5, 2023 · 2 comments · Fixed by #106491
Closed

Back button doesn't work from error_codes/error-index.html #106485

matthagan15 opened this issue Jan 5, 2023 · 2 comments · Fixed by #106491
Assignees

Comments

@matthagan15
Copy link

Was looking thought the doc.rust-lang.org site to see what was new and looked at the compiler error codes page. when trying to navigate back to the main site by pressing back it simply flashes "if you are not redirected please ..." and then immediately goes back to error_codes/error-index.html. Pretty easy to repro, can provide more detail if needed!

@Manishearth Manishearth transferred this issue from rust-lang/www.rust-lang.org Jan 5, 2023
@Ezrashaw
Copy link
Contributor

Ezrashaw commented Jan 5, 2023

I've seen this before, there is a redirect from /error-index.html to error_codes/error-index.html which causes this behavior. The error index is a bit of a bodge; technically it's a mdBook but it also has its own helper script at src/tools/error_index_generator/. I'm not really sure that this is fixable, maybe we could try to remove links to the redirect but I'm not sure that would help.

@ehuss
Copy link
Contributor

ehuss commented Jan 5, 2023

I think there is an easy fix here, I'll post a PR.

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 a pull request may close this issue.

3 participants