about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorIvan Petkov <ivanppetkov@gmail.com>2015-03-16 19:44:13 -0700
committerIvan Petkov <ivanppetkov@gmail.com>2015-03-18 14:07:22 -0700
commitaf6cf85b9815644c77c77cdd141d476efc426d99 (patch)
tree13376adb1a2c2a291699e6139cbc3d686e57658f /src/rustllvm/ExecutionEngineWrapper.cpp
parent94a95067e017252d4928a4292a6aeef66902e694 (diff)
downloadrust-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