rust/src/rustbook
Nick Howell 0f0c48b0b1 rustbook: Fix relative links on the Introduction page
The Introduction page generated by rustbook used weird relative links
like "./getting-started.html" instead of just "getting-started.html"
like on the other pages. This adversely affected Windows builds the
worst, since it generated links like ".\getting-started.html" (note the
backslash). If you then try to upload the generated book to a webserver,
you end up with 404's. See this example of what is going on with the
Introduction page links and why this PR should fix it:
http://is.gd/fRUTXk

Compare the links on these two pages, for instance:
https://doc.rust-lang.org/nightly/book/
https://doc.rust-lang.org/nightly/book/getting-started.html

Also, fix a few whitespace issues in build.rs.
2015-09-04 17:00:33 -04:00
..
static Remove redundant overflowing rule 2015-08-26 16:28:31 +03:00
book.rs rustbook: Fix relative links on the Introduction page 2015-09-04 17:00:33 -04:00
build.rs rustbook: Fix relative links on the Introduction page 2015-09-04 17:00:33 -04:00
error.rs Stabilize the Error trait 2015-03-23 11:27:19 -07:00
help.rs std: Deprecate std::old_io::fs 2015-03-04 15:59:30 -08:00
javascript.rs doc: add rel=prev/next for links to adjacent sections 2015-07-15 23:32:58 +02:00
main.rs separate css and js from rust 2015-06-24 22:59:44 +02:00
serve.rs std: Deprecate std::old_io::fs 2015-03-04 15:59:30 -08:00
subcommand.rs Removed many pointless calls to *iter() and iter_mut() 2015-06-10 21:14:03 +01:00
term.rs More test fixes and fallout of stability changes 2015-06-17 09:07:17 -07:00
test.rs std: Deprecate std::old_io::fs 2015-03-04 15:59:30 -08:00