rust/src/doc
bors cfd76b364c Auto merge of #28135 - jackwilsonv:patch-1, r=steveklabnik
Small formatting change

r? @steveklabnik
2015-09-02 19:08:18 +00:00
..
nomicon Reverse AtomicBool value in nomicon example to agree with its comment. 2015-09-01 17:32:22 +09:00
style Tweak style guide to avoid referencing the removed ascii::Ascii. 2015-08-09 18:56:48 -07:00
trpl Auto merge of #28135 - jackwilsonv:patch-1, r=steveklabnik 2015-09-02 19:08:18 +00:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
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
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 Updated the link with rendered version of the Spanish trpl translation. 2015-08-11 11:02:38 +01: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 Document the recursion_limit crate attribute 2015-08-25 10:02:58 -07: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.