rustdoc: Prune unexported items from the doc tree

This commit is contained in:
Brian Anderson
2012-01-23 19:23:02 -08:00
parent 6766d0ead0
commit ab0eed34fd
3 changed files with 178 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ fn run(source_file: str) {
let srv = astsrv::mk_srv_from_file(source_file);
let doc = extract::from_srv(srv, default_name);
run_passes(srv, doc, [
prune_unexported_pass::mk_pass(),
tystr_pass::mk_pass(),
path_pass::mk_pass(),
attr_pass::mk_pass(),