rust/src/doc
Steve Klabnik 024aa9a345 src/doc/trpl -> src/doc/book
The book was located under 'src/doc/trpl' because originally, it was
going to be hosted under that URL. Late in the game, before 1.0, we
decided that /book was a better one, so we changed the output, but
not the input. This causes confusion for no good reason. So we'll change
the source directory to look like the output directory, like for every
other thing in src/doc.
2015-11-19 11:30:18 -05:00
..
book src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
nomicon Rollup merge of #29875 - steveklabnik:gh29784, r=Manishearth 2015-11-17 15:12:15 +05:30
style Fix double word 'be' 2015-11-08 09:39:01 -06:00
complement-design-faq.md
complement-lang-faq.md Correct spelling in docs 2015-10-13 09:44:11 -04:00
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Allow bare semicolon in grammar doc, closes #28157 2015-10-24 00:45:18 +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 Minor tweaks to doc index 2015-11-16 11:48:18 -08:00
intro.md
not_found.md
README.md
reference.md Rollup merge of #29891 - steveklabnik:gh29470, r=alexcrichton 2015-11-17 18:13:06 -05:00
rust.css Update the playpen link for code in the rust book to agree with rustdoc's new style 2015-10-25 16:18:55 -04:00
rust.md
rustdoc.md
tutorial.md
uptack.tex
version_info.html.template

Rust documentations

Building

To generate all the docs, follow the "Building Documentation" instructions in the README in the root of the repository. This will convert the distributed Markdown docs to HTML and generate HTML doc for the books, '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.