rust/src/doc
bors 2287b4b628 Auto merge of #26037 - nhowell:plain_js_playpen, r=steveklabnik
Since the "Book" already avoids jQuery in its inline script tags and playpen.js is tiny, I figured I would convert it to plain old JS as well.

Side note: This is a separate issue, but another thing I noticed in my testing is that the "⇱" character doesn't display correctly in Chrome on Windows 7. (Firefox and IE work fine; other browsers not tested)

r? @steveklabnik

Edit: Github didn't like the "script" tag above
Edit 2: Actually, now IE seems to render "⇱" fine for me. Odd.
2015-06-22 05:23:50 +00:00
..
style Fix link to newtypes page 2015-05-29 01:02:24 +02:00
trpl TRPL: FFI: address panics 2015-06-20 14:18:28 -04:00
complement-design-faq.md Remove mentions of int / uint from public documentation 2015-05-27 19:26:18 -04:00
complement-lang-faq.md Add Terminal.com to the list of companies using rust in production. 2015-06-11 16:07:34 -07:00
complement-project-faq.md doc: fix links to servo 2015-01-14 16:13:58 -08:00
favicon.inc webfonts: serve Source Code Pro locally 2014-07-08 20:31:26 +02:00
footer.inc Convert playpen.js to plain JS. 2015-06-12 16:26:07 -04:00
full-toc.inc doc: add webfonts and tweak the styles accordingly 2014-04-19 21:25:35 +09:00
grammar.md Fix up macro grammar 2015-06-09 15:26:51 -04:00
guide-crates.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-error-handling.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-ffi.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-macros.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-ownership.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-plugins.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-pointers.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-strings.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-tasks.md Fix broken link in old rust guide 2015-03-04 23:18:24 +00:00
guide-testing.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide-unsafe.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
guide.md Grammar tweak to old guide stub documents. 2015-01-16 22:25:22 -05:00
index.md [Documentation] Use SSL where possible 2015-06-04 15:44:30 +02:00
intro.md Remove the 30 minute intro 2015-04-18 17:55:31 -04:00
not_found.md Fix section headers on Not Found page 2015-05-27 19:15:17 -04:00
README.md remove l10n 2014-12-17 21:00:04 -05:00
reference.md Rollup merge of #26349 - petrochenkov:bitwise, r=steveklabnik 2015-06-18 13:38:10 +05:30
rust.css Enforce a white background for the docs 2015-02-23 18:04:51 -05:00
rust.md Update based on PR feedback 2014-09-30 18:54:03 +02:00
rustdoc.md Move rustdoc.md into the book 2015-01-21 14:59:25 -05:00
tutorial.md Re-direct to the right place. 2015-01-13 21:11:47 -05:00
uptack.tex Changed LaTex $\bot$s to ⊥ 2014-12-19 18:09:33 -05:00
version_info.html.template Update repo location 2014-06-16 18:16:36 -07:00

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: