Add stub deprecation files for each of the old guides.

There are hundreds of stackoverflow answers, reddit posts and blog
articles that link to these documents, so it's a nicer user experience
if they're not plain 404s.

The intention is to let these hang around only for relatively short
while. The alpha is likely to bring in many new users and they will be
reading the documents mentioned above.
This commit is contained in:
Huon Wilson 2015-01-09 19:47:09 +11:00
parent 20bce44810
commit 4247a30bdd
13 changed files with 54 additions and 0 deletions

View File

@ -29,6 +29,12 @@ DOCS := index intro tutorial complement-bugreport \
complement-lang-faq complement-design-faq complement-project-faq \
rustdoc reference
# Legacy guides, preserved for a while to reduce the number of 404s
DOCS += guide-crates guide-error-handling guide-ffi guide-macros guide \
guide-ownership guide-plugins guide-pointers guide-strings guide-tasks \
guide-testing
PDF_DOCS := reference
RUSTDOC_DEPS_reference := doc/full-toc.inc

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).