rustdoc --version (return code: 0)
rustdoc 1.11.0 (9b21dcd6a 2016-08-15)
rustdoc --help (return code: 0)
rustdoc [options] <input>
Options:
-h --help show this help message
-V --version print rustdoc's version
-v --verbose use verbose output
-r --input-format [rust]
the input type of the specified file
-w --output-format [html]
the output type to write
-o --output PATH where to place the output
--crate-name NAME specify the name of this crate
-L --library-path DIR
directory to add to crate search path
--cfg pass a --cfg to rustc
--extern NAME=PATH pass an --extern to rustc
--plugin-path DIR directory to load plugins from
--passes PASSES list of passes to also run, you might want to pass it
multiple times; a value of `list` will print available
passes
--plugins PLUGINS space separated list of plugins to also load
--no-defaults don't run the default passes
--test run code examples as tests
--test-args ARGS arguments to pass to the test runner
--target TRIPLE target triple to document
--markdown-css FILES
CSS files to include via <link> in a rendered Markdown
file
--html-in-header FILES
files to include inline in the <head> section of a
rendered Markdown file or generated documentation
--html-before-content FILES
files to include inline between <body> and the content
of a rendered Markdown file or generated documentation
--html-after-content FILES
files to include inline between the content and
</body> of a rendered Markdown file or generated
documentation
--markdown-playground-url URL
URL to send code snippets to
--markdown-no-toc don't include table of contents
-e --extend-css PATH
to redefine some css rules with a given file to
generate doc with your own theme
-Z FLAG internal and debugging options (only on nightly build)