rust/src/doc
2015-03-31 19:02:32 -04:00
..
style doc: Fix extraneous as_slice()'s in docstrings 2015-03-09 07:54:19 -07:00
trpl Move benchmark tests to unstable section 2015-03-31 19:02:32 -04:00
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 Strip trailing whitespace 2015-03-15 11:25:43 -07: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 Re-word explanation on closures in intro 2015-03-22 15:40:46 -04:00
not_found.md Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
README.md
reference.md Rollup merge of #23813 - steveklabnik:gh19733, r=cmr 2015-03-31 09:04:36 +05:30
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: