diff options
| author | Ivan Petkov <ivanppetkov@gmail.com> | 2015-03-16 19:44:13 -0700 |
|---|---|---|
| committer | Ivan Petkov <ivanppetkov@gmail.com> | 2015-03-18 14:07:22 -0700 |
| commit | af6cf85b9815644c77c77cdd141d476efc426d99 (patch) | |
| tree | 13376adb1a2c2a291699e6139cbc3d686e57658f /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 94a95067e017252d4928a4292a6aeef66902e694 (diff) | |
| download | rust-af6cf85b9815644c77c77cdd141d476efc426d99.tar.gz rust-af6cf85b9815644c77c77cdd141d476efc426d99.zip | |
[rustdoc] Fix source hyperlinks in docs
* 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
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
