rust/src/doc
2018-03-25 01:26:48 +08:00
..
book@b889e1e30c update books for next release 2018-03-24 15:31:02 +01:00
man Implement --remap-path-prefix 2018-02-22 15:13:21 -08:00
nomicon@6a8f0a27e9 update books for next release 2018-03-24 15:31:02 +01:00
reference@76296346e9 update books for next release 2018-03-24 15:31:02 +01:00
rust-by-example@d5ec87eabe update books for next release 2018-03-24 15:31:02 +01:00
rustdoc Rollup merge of #49028 - QuietMisdreavus:the-dark-forbidden-corners-of-rustdoc, r=frewsxcv 2018-03-23 10:16:08 -07:00
unstable-book Rollup merge of #49194 - Zoxc:unsafe-generator, r=cramertj 2018-03-25 01:26:34 +08:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md
guide-crates.md
guide-error-handling.md
guide-ffi.md
guide-macros.md
guide-ownership.md
guide-plugins.md
guide-pointers.md
guide-strings.md
guide-tasks.md
guide-testing.md
guide-unsafe.md
guide.md
index.md
intro.md
not_found.md
README.md fix for documentation error issue 47716 2018-01-24 09:25:46 -07:00
reference.md
rust.css
rust.md
rustc-ux-guidelines.md Move librustc_const_eval to librustc_mir 2018-03-08 08:08:14 +01:00
rustdoc.md
tutorial.md
version_info.html.template

Rust documentations

Building

To generate all the docs, follow the "Building Documentation" instructions in the README in the root of the repository. This will convert the distributed Markdown docs to HTML and generate HTML doc for the books, 'std' and 'extra' libraries.

To generate HTML documentation from one source file/crate, do something like:

rustdoc --output html-doc/ --output-format html ../src/libstd/path.rs

(This, of course, requires a working build of the rustdoc tool.)

Additional notes

To generate an HTML version of a doc from Markdown manually, you can do something like:

rustdoc reference.md

(reference.md being the Rust Reference Manual.)

An overview of how to use the rustdoc command is available in the docs. Further details are available from the command line by with rustdoc --help.