-
Notifications
You must be signed in to change notification settings - Fork 13.3k
The online documentation no longer links to the source #23192
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
Comments
even before this, many but not all were broken. there may be multiple issues with this symptom. |
The For example here's a link from the current docs which will 404: http://doc.rust-lang.org/src/core/option.rs.html But the following will resolve: http://doc.rust-lang.org/src/core/option.rs/option.rs.html |
Really annoyed by this. :< |
* rustdoc was doubly appending the file name to the path of where to generate the source files, meanwhile, the [src] hyperlinks were not * Added a flag to rustdoc::html::render::clean_srcpath to ignore the last path component, i.e. the file name itself to prevent the issue * This also avoids creating directories with the same name as source files, and it makes sure the link to `main.css` is correct as well. Fixes #23192
When visiting a page such as stdlib or option the link src (for the source code) no longer works. Instead a 404 is returned. This seems to have been broken for several days now.
The text was updated successfully, but these errors were encountered: