rust/src/doc
David Elliott ded2370a74 clarify that find returns first match
the example for `find` was misleading in that it fails to mention the result is either `None` or `Some` containing only the first match. Further confusing the issue is the `println!` statement, "We got some numbers!"
2015-09-26 10:36:37 -07:00
..
nomicon Nomicon: Fix Links 2015-09-12 12:13:24 +02:00
style doc: Fix broken links 2015-09-20 13:24:47 +03:00
trpl clarify that find returns first match 2015-09-26 10:36:37 -07:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md We are production ready 2015-09-20 15:53:47 -04:00
favicon.inc Use https URLs to refer to rust-lang.org where appropriate. 2015-08-09 14:28:46 -07:00
footer.inc
full-toc.inc
grammar.md doc: "familiarity" does not need to be repeated here 2015-09-24 08:04:55 +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 Further tweaks to doc/index.md 2015-09-06 16:07:55 +03:00
intro.md
not_found.md Use https URLs to refer to rust-lang.org where appropriate. 2015-08-09 14:28:46 -07:00
README.md doc/readme: replace references to Pandoc with rustdoc. 2015-08-12 22:29:05 -04:00
reference.md Auto merge of #28612 - gandro:targetvendor, r=alexcrichton 2015-09-26 00:14:39 +00:00
rust.css
rust.md
rustdoc.md
tutorial.md
uptack.tex
version_info.html.template Use https URLs to refer to rust-lang.org where appropriate. 2015-08-09 14:28:46 -07:00

Rust documentations

Building

To generate all the docs, just run make docs from the root of the repository. This will convert the distributed Markdown docs to HTML and generate HTML doc for the '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.