You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The [src] links link in the form /path/to/src/filename.rs.html but it seems like the actual source is being placed in a location in the form /path/to/src/filename.rs/filename.rs.html
* 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: