about summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-src-links/foo.rs
AgeCommit message (Collapse)AuthorLines
2015-04-07test: Move all run-make rustdoc tests to test/rustdocAlex Crichton-43/+0
2015-03-18[rustdoc] Fix source hyperlinks in docsIvan Petkov-0/+43
* 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. * Added regression tests to ensure the rustdoc heirarchy of rendered source files remains consistent Fixes #23192