rust/src/doc
2018-06-03 13:46:19 +02:00
..
book@36d65d0016 build the 2018 edition 2018-05-22 11:30:15 -04:00
man Update the man page with additional --print options 2018-05-10 12:11:47 +09:00
nomicon@748a5e6742 Update books for the next release. 2018-05-05 19:02:13 -04:00
reference@134f419ee6 Update books for the next release. 2018-05-05 19:02:13 -04:00
rust-by-example@eebda16e4b Update books for the next release. 2018-05-05 19:02:13 -04:00
rustc Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
rustdoc Reorder description for snippets in rustdoc documentation 2018-05-18 14:12:25 +02:00
unstable-book s/panic_fmt/panic_impl/g in docs 2018-06-03 13:46:19 +02:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Rollup merge of #50791 - bstrie:null, r=QuietMisdreavus 2018-05-17 13:51:25 -06:00
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
reference.md
rust.css
rust.md
rustc-ux-guidelines.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
rustdoc.md
tutorial.md Update tutorial.md 2018-05-17 12:25:24 -07:00
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.