rust/src/doc
Ricardo Signes 50611331b4 reformat the docs for hidden code in rust sections
As displayed before this commit, I found the book confusing in its
explanation of `#`-led comments in `rust` blocks.  Possibly the
biggest confusion was because the many-dashes construct does not
become an HR element in the Markdown translator used, so things were
not being properly set off.

This change should more clearly show the as-rendered content as
rendered, and the as-coded content as code.
2015-10-25 16:05:58 -04:00
..
nomicon Add missing "to" in Rustonomicon Atomics. 2015-10-22 03:33:47 -06:00
style Remove #[derive(Show)] 2015-10-18 19:12:09 +03:00
trpl reformat the docs for hidden code in rust sections 2015-10-25 16:05:58 -04:00
complement-design-faq.md
complement-lang-faq.md Correct spelling in docs 2015-10-13 09:44:11 -04:00
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Allow bare semicolon in grammar doc, closes #28157 2015-10-24 00:45:18 +02: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 Add link to the german trpl translation 2015-10-06 19:50:09 +02:00
intro.md
not_found.md
README.md
reference.md Rollup merge of #29058 - tshepang:rename, r=steveklabnik 2015-10-15 13:41:32 +05:30
rust.css
rust.md
rustdoc.md
tutorial.md
uptack.tex
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.