rust/src/doc
2017-11-03 16:13:22 -02: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 update unstable book and error example 2017-11-03 16:13:22 -02: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 to the rustdoc book from the main docs 2017-08-14 13:58:21 -04:00
intro.md
not_found.md
README.md
reference.md
rust.css
rust.md
rustc-ux-guidelines.md
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.