auto merge of #20802 : huonw/rust/book-css, r=steveklabnik

There is likely to be new users with the alpha release, and there are a lot of documents on the internet (StackOverflow, reddit, blogs) that refer to these guides, so emitting a more helpful error than "404" is nice. Hence, I've temporarily reinstated stub documents for each of the old guides, referring to as relevant a part of the book as possible.

Also, rustbook was silently ignoring some errors, which lead to an inconsistency with directory creation/file writing. This meant the CSS file was not being written if no `doc` directory existed in the users build dir (e.g. the buildbots). This should mean that the CSS will appear automatically in later builds.
This commit is contained in:
bors 2015-01-10 05:55:07 +00:00
commit 391e0106ef
18 changed files with 76 additions and 24 deletions

4
src/doc/guide-crates.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Crates and Modules Guide
This content has moved into the
[the Rust Programming Language book](book/crates-and-modules.html).

View file

@ -0,0 +1,4 @@
% Error Handling in Rust
This content has moved into the
[the Rust Programming Language book](book/error-handling.html).

4
src/doc/guide-ffi.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Foreign Function Interface Guide
This content has moved into the
[the Rust Programming Language book](book/ffi.html).

4
src/doc/guide-macros.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Macros Guide
This content has moved into the
[the Rust Programming Language book](book/macros.html).

View file

@ -0,0 +1,4 @@
% The (old) Rust Ownership Guide
This content has moved into the
[the Rust Programming Language book](book/ownership.html).

4
src/doc/guide-plugins.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Compiler Plugins Guide
This content has moved into the
[the Rust Programming Language book](book/plugins.html).

View file

@ -0,0 +1,4 @@
% The (old) Rust Pointer Guide
This content has moved into the
[the Rust Programming Language book](book/pointers.html).

4
src/doc/guide-strings.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Guide to Rust Strings
This content has moved into the
[the Rust Programming Language book](book/strings.html).

4
src/doc/guide-tasks.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Threads and Communication Guide
This content has moved into the
[the Rust Programming Language book](book/tasks.html).

4
src/doc/guide-testing.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Testing Guide
This content has moved into the
[the Rust Programming Language book](book/testing.html).

4
src/doc/guide-unsafe.md Normal file
View file

@ -0,0 +1,4 @@
% Writing Safe Low-level and Unsafe Code in Rust
This content has moved into the
[the Rust Programming Language book](book/unsafe.html).

4
src/doc/guide.md Normal file
View file

@ -0,0 +1,4 @@
% The (old) Rust Guide
This content has moved into the
[the Rust Programming Language book](book/README.html).