servo/etc/rustdoc-with-private
Simon Sapin f787e1a07b Use rustdoc’s new --passes strip-priv-imports flag.
https://github.com/rust-lang/rust/pull/32055

This will make e.g. http://doc.servo.org/servo/index.html#reexports
stop listing `extern crate` and `use` statements that don’t have `pub`.
2016-03-07 15:03:32 +01:00

4 lines
221 B
Bash
Executable file

#!/bin/sh
# Skip the strip-private and strip-hidden rustdoc passes
# https://github.com/rust-lang/rust/issues/15347
rustdoc --no-defaults --passes collapse-docs --passes unindent-comments --passes strip-priv-imports "$@"