rust/src/doc
2015-03-09 16:02:29 +00:00
..
style remove .gitignore 2015-02-17 12:30:07 -05:00
trpl Fix doctest (fixup #23188) 2015-03-09 10:16:34 +05:30
complement-design-faq.md
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 Auto merge of #23219 - Manishearth:rollup, r=Manishearth 2015-03-09 16:02:29 +00:00
rust.css Enforce a white background for the docs 2015-02-23 18:04:51 -05:00
rust.md
rustdoc.md Move rustdoc.md into the book 2015-01-21 14:59:25 -05:00
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: