![]() |
![]()
| ![]() |
![]()
NAMErustdoc - generate documentation from Rust source code SYNOPSISrustdoc [OPTIONS] INPUT DESCRIPTIONThis tool generates API reference documentation by extracting comments from source code written in the Rust language, available at <https://www.rust-lang.org>. It accepts several input formats and provides several output formats for the generated documentation. OPTIONS
OUTPUT FORMATSThe rustdoc tool can generate output in an HTML format. If using an HTML format, then the specified output destination will be the root directory of an HTML structure for all the documentation. Pages will be placed into this directory, and source files will also possibly be rendered into it as well. EXAMPLESTo generate documentation for the source in the current directory:
List all available passes that rustdoc has, along with default
passes:
The generated HTML can be viewed with any standard web browser. SEE ALSOrustc(1) BUGSSee <https://github.com/rust-lang/rust/issues> for issues. AUTHORSee the version control history or <https://thanks.rust-lang.org> COPYRIGHTThis work is dual‐licensed under Apache 2.0 and MIT terms. See COPYRIGHT file in the rust source distribution.
|