rust/src/doc
bors ad3bd1b46d Auto merge of #29726 - petrochenkov:privsan, r=alexcrichton
- Check privacy sanity in all blocks, not only function bodies
- Check all fields, not only named
- Check all impl items, not only methods
- Check default impls
- Move the sanity check in the beginning of privacy checking, so others could rely on it

Technically it's a [breaking-change], but I expect no breakage because, well, it's *sane* privacy visitor, if code is broken it must be insane by definition!
2015-11-11 00:25:08 +00:00
..
nomicon Fix typo 2015-11-07 12:27:58 -06:00
style Fix double word 'be' 2015-11-08 09:39:01 -06:00
trpl Auto merge of #29726 - petrochenkov:privsan, r=alexcrichton 2015-11-11 00:25:08 +00: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 We are production ready 2015-09-20 15:53:47 -04:00
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 Add link to the german trpl translation 2015-10-06 19:50:09 +02:00
intro.md
not_found.md
README.md Fix meta-documentation for generating all docs. 2015-09-26 12:05:47 -07:00
reference.md reference: Remove struct_variant from Compiler Features 2015-11-08 11:27:40 -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.