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

Outdated (Rust 1.17.0) docs hosted on static.rust-lang.org #568

Open
softmoth opened this issue Sep 18, 2024 · 3 comments · May be fixed by #571
Open

Outdated (Rust 1.17.0) docs hosted on static.rust-lang.org #568

softmoth opened this issue Sep 18, 2024 · 3 comments · May be fixed by #571
Assignees

Comments

@softmoth
Copy link

What needs to be fixed?

Old docs, with "master" in the URL, are accessible from static.rust-lang.org. This may show up in web search results, older forum posts, etc.

Page(s) Affected

https://static.rust-lang.org/doc/master/rust.html
https://static.rust-lang.org/doc/master/reference.html

Suggested Improvement

Redirect to the current reference documentation: https://doc.rust-lang.org/reference/

@Manishearth
Copy link
Member

cc @rust-lang/infra

This repo doesn't manage that website, and I'm not sure what does

@jdno jdno transferred this issue from rust-lang/www.rust-lang.org Sep 19, 2024
@MarcoIeni
Copy link
Member

The static-rust-lang-org s3 bucket contains a master folder with these outdated files.

I suggest to:

  • change the static lambda to implement that redirect you suggested
  • remove the master directory from the S3 bucket.

Do you want to send a PR to implement the redirect? :)
we have a similar lambda here that you can use as another example.

softmoth added a commit to softmoth/simpleinfra that referenced this issue Sep 21, 2024
@softmoth
Copy link
Author

Pull request #571

@MarcoIeni MarcoIeni self-assigned this Sep 23, 2024
softmoth added a commit to softmoth/simpleinfra that referenced this issue Sep 24, 2024
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