rust/src/doc
2015-03-12 00:37:47 -04:00
..
style doc: Fix extraneous as_slice()'s in docstrings 2015-03-09 07:54:19 -07:00
trpl Rollup merge of #23195 - steveklabnik:gh19808, r=alexcrichton 2015-03-10 14:59:46 +05:30
complement-design-faq.md Add note about pre/post increment to the design FAQ. 2015-03-09 16:49:19 -04:00
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Fix missed doc grammar rule rename from vec_elems to array_elems 2015-03-01 15:37:40 +11: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 Fix broken link in old rust guide 2015-03-04 23:18:24 +00:00
guide-testing.md
guide-unsafe.md
guide.md
index.md Fix "How to submit a bug report" link 2015-02-24 23:26:25 +01:00
intro.md Make concurrent examples actually run concurrently 2015-03-08 16:12:07 -04:00
not_found.md
README.md
reference.md Add monospace font back to literals table 2015-03-12 00:37:47 -04:00
rust.css Enforce a white background for the docs 2015-02-23 18:04:51 -05:00
rust.md
rustdoc.md
tutorial.md
uptack.tex
version_info.html.template

Rust documentations

Dependencies

Pandoc, a universal document converter, is required to generate docs as HTML from Rust's source code.

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:

pandoc --from=markdown --to=html5 --number-sections -o reference.html reference.md

(reference.md being the Rust Reference Manual.)

The syntax for pandoc flavored markdown can be found at:

A nice quick reference (for non-pandoc markdown) is at: