tree: 219ba2deb1f8da6bf541fad4cff966430ff1fe33 [path history] [tgz]
  1. man/
  2. rustdoc/
  3. unstable-book/
  4. complement-design-faq.md
  5. complement-lang-faq.md
  6. complement-project-faq.md
  7. favicon.inc
  8. footer.inc
  9. full-toc.inc
  10. grammar.md
  11. guide-crates.md
  12. guide-error-handling.md
  13. guide-ffi.md
  14. guide-macros.md
  15. guide-ownership.md
  16. guide-plugins.md
  17. guide-pointers.md
  18. guide-strings.md
  19. guide-tasks.md
  20. guide-testing.md
  21. guide-unsafe.md
  22. guide.md
  23. index.md
  24. intro.md
  25. not_found.md
  26. README.md
  27. reference.md
  28. rust.css
  29. rust.md
  30. rustc-ux-guidelines.md
  31. rustdoc.md
  32. tutorial.md
  33. version_info.html.template
src/doc/README.md

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.