Commit graph

9 commits

Author SHA1 Message Date
Sean Collins
99868f6ba8 Add 'active' class to current page in rustbook table of contents 2015-05-17 17:05:23 -04:00
Kostas Karachalios
adfe4d4040 Make the book chapters printable
Tested on:
* Safari on OSX
* Firefox on OSX
2015-02-05 10:21:06 +01:00
Alex Crichton
9ff540ba37 rollup merge of #21494: jatinn/jsnav
Added javascript code to insert next/prev links in the rust book.
Related Issue - https://github.com/rust-lang/rust/issues/20835
2015-01-30 12:02:48 -08:00
Nelson Chen
e0dc9bd275 Add same "-webkit-overflow-scrolling: touch" to the table of contents in the book. 2015-01-26 02:37:17 -08:00
Nelson Chen
f7f80ce61a Add "-webkit-overflow-scrolling: touch" to book CSS for the page wrapper.
This change permits native momentum scrolling in Safari on iOS in the book.
2015-01-26 02:37:01 -08:00
jatinn
e371d23486 add next/prev section links in the book -- using js 2015-01-22 23:11:14 -05:00
Seth Faxon
9af8a646a9 Make the Rust Book more mobile friendly 2015-01-13 09:41:26 -08:00
Huon Wilson
afe260ff4b rustbook: use a relative @import path to ensure it works offline.
The URL previously caused the book to require an internet connection to
get the full styling, this should mean no internet is required.
2015-01-10 00:54:18 +11:00
Steve Klabnik
16a6ebd1f6 "The Rust Programming Language"
This pulls all of our long-form documentation into a single document,
nicknamed "the book" and formally titled "The Rust Programming
Language."

A few things motivated this change:

* People knew of The Guide, but not the individual Guides. This merges
  them together, helping discoverability.
* You can get all of Rust's longform documentation in one place, which
  is nice.
* We now have rustbook in-tree, which can generate this kind of
  documentation. While its style is basic, the general idea is much
  better: a table of contents on the left-hand side.
* Rather than a almost 10,000-line guide.md, there are now smaller files
  per section.
2015-01-08 12:02:11 -05:00