pub fn from_rustdoc(doc: &Value, source_root: &Path) -> Surface
Build a surface from a rustdoc JSON document. source_root resolves the relative filenames in spans (the directory rustdoc ran in).
source_root