rust-lang / simpleinfra

Rust Infrastructure automation
MIT License
146 stars 76 forks source link

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

Open softmoth opened 1 month ago

softmoth commented 1 month ago

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 commented 1 month ago

cc @rust-lang/infra

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

MarcoIeni commented 1 month ago

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

I suggest to:

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 commented 1 month ago

Pull request #571