rust/src/doc
bors 42ea30c8b0 Auto merge of #45692 - steveklabnik:ship-cargo-book, r=alexcrichton
Start shipping the Cargo book

Fixes #44910
Fixes #39588

See both of those bugs for more details.
2017-11-16 01:16:58 +00:00
..
book@7db393dae7 Update the book for a fix to the print button 2017-10-28 20:44:38 -04:00
man cleanup: rustc doesn't use an external archiver 2017-10-09 22:36:08 +03:00
nomicon@1625e0b8c8 Bump to 1.23 and update bootstrap 2017-10-26 13:59:18 -07:00
reference@36adc6ae50 update books for next release 2017-10-02 12:07:28 -04:00
rustdoc Rollup merge of #45308 - dbrgn:headlines, r=steveklabnik 2017-10-17 22:20:59 +08:00
unstable-book Add universal_impl_trait unstable-book entry 2017-11-15 15:46:01 -05:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Add _ to the list of keywords 2017-06-17 13:14:26 -07: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 link the cargo book into the bookshelf 2017-11-14 06:51:59 -05:00
intro.md
not_found.md Update reference link in doc's 404 2017-11-04 20:53:27 -07:00
README.md
reference.md
rust.css
rust.md
rustc-ux-guidelines.md Update rustc-ux-guidelines.md 2017-05-08 18:15:23 -07: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.