rust/src/doc
Jonathan Turner eb91d33a14 Rollup merge of #35681 - Rufflewind:patch-1, r=apasel422
Fix spacing in code of closures.md

The spacing seems inconsistent with existing style conventions.
2016-08-17 06:25:26 -07:00
..
book Rollup merge of #35681 - Rufflewind:patch-1, r=apasel422 2016-08-17 06:25:26 -07:00
nomicon doc: add missing pause 2016-07-21 21:11:34 +02:00
style update features RFC 2016-04-28 11:22:54 +03:00
complement-design-faq.md Remove the FAQs in favor of the website 2015-12-23 14:03:45 -08:00
complement-lang-faq.md Remove the FAQs in favor of the website 2015-12-23 14:03:45 -08:00
complement-project-faq.md Remove the FAQs in favor of the website 2015-12-23 14:03:45 -08:00
favicon.inc
footer.inc Rollup merge of #33385 - cheercroaker:doc-correction, r=brson 2016-06-01 12:57:40 +05:30
full-toc.inc
grammar.md A disclaimer about keywords. 2016-08-15 10:52:42 -04:00
guide-crates.md
guide-error-handling.md
guide-ffi.md
guide-macros.md
guide-ownership.md
guide-plugins.md doc: Fix a bunch of broken links 2016-03-08 13:44:14 -08:00
guide-pointers.md
guide-strings.md
guide-tasks.md
guide-testing.md
guide-unsafe.md
guide.md
index.md doc: Add descriptions to links in the index 2016-01-10 22:30:09 +00:00
intro.md
not_found.md
README.md rustbuild: Run all markdown documentation tests 2016-04-19 09:52:56 -07:00
reference.md Finish fixing the operator precedence tables 2016-08-06 23:57:18 -07:00
rust.css renamed last boolval to bool-val 2016-05-17 09:28:08 +02:00
rust.md
rustc-ux-guidelines.md diagnostics comes from different places now 2016-06-20 16:05:30 +08:00
rustdoc.md
tutorial.md
version_info.html.template Add alt tags for logos 2016-01-20 11:53:20 -05:00

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.