diff --git a/mk/docs.mk b/mk/docs.mk index 1104c3eb6dbb..3f8b677185f6 100644 --- a/mk/docs.mk +++ b/mk/docs.mk @@ -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 diff --git a/src/doc/guide-crates.md b/src/doc/guide-crates.md new file mode 100644 index 000000000000..8277988b7fe2 --- /dev/null +++ b/src/doc/guide-crates.md @@ -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). diff --git a/src/doc/guide-error-handling.md b/src/doc/guide-error-handling.md new file mode 100644 index 000000000000..215fe6a441e0 --- /dev/null +++ b/src/doc/guide-error-handling.md @@ -0,0 +1,4 @@ +% Error Handling in Rust + +This content has moved into the +[the Rust Programming Language book](book/error-handling.html). diff --git a/src/doc/guide-ffi.md b/src/doc/guide-ffi.md new file mode 100644 index 000000000000..4c818cacbfaf --- /dev/null +++ b/src/doc/guide-ffi.md @@ -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). diff --git a/src/doc/guide-macros.md b/src/doc/guide-macros.md new file mode 100644 index 000000000000..534ae3504c3a --- /dev/null +++ b/src/doc/guide-macros.md @@ -0,0 +1,4 @@ +% The (old) Rust Macros Guide + +This content has moved into the +[the Rust Programming Language book](book/macros.html). diff --git a/src/doc/guide-ownership.md b/src/doc/guide-ownership.md new file mode 100644 index 000000000000..26e059aeb268 --- /dev/null +++ b/src/doc/guide-ownership.md @@ -0,0 +1,4 @@ +% The (old) Rust Ownership Guide + +This content has moved into the +[the Rust Programming Language book](book/ownership.html). diff --git a/src/doc/guide-plugins.md b/src/doc/guide-plugins.md new file mode 100644 index 000000000000..abfe7a44703a --- /dev/null +++ b/src/doc/guide-plugins.md @@ -0,0 +1,4 @@ +% The (old) Rust Compiler Plugins Guide + +This content has moved into the +[the Rust Programming Language book](book/plugins.html). diff --git a/src/doc/guide-pointers.md b/src/doc/guide-pointers.md new file mode 100644 index 000000000000..e72eaf62720b --- /dev/null +++ b/src/doc/guide-pointers.md @@ -0,0 +1,4 @@ +% The (old) Rust Pointer Guide + +This content has moved into the +[the Rust Programming Language book](book/pointers.html). diff --git a/src/doc/guide-strings.md b/src/doc/guide-strings.md new file mode 100644 index 000000000000..fd1420024c66 --- /dev/null +++ b/src/doc/guide-strings.md @@ -0,0 +1,4 @@ +% The (old) Guide to Rust Strings + +This content has moved into the +[the Rust Programming Language book](book/strings.html). diff --git a/src/doc/guide-tasks.md b/src/doc/guide-tasks.md new file mode 100644 index 000000000000..be8cb6709862 --- /dev/null +++ b/src/doc/guide-tasks.md @@ -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). diff --git a/src/doc/guide-testing.md b/src/doc/guide-testing.md new file mode 100644 index 000000000000..79721300d941 --- /dev/null +++ b/src/doc/guide-testing.md @@ -0,0 +1,4 @@ +% The (old) Rust Testing Guide + +This content has moved into the +[the Rust Programming Language book](book/testing.html). diff --git a/src/doc/guide-unsafe.md b/src/doc/guide-unsafe.md new file mode 100644 index 000000000000..fe8fcc4c19d8 --- /dev/null +++ b/src/doc/guide-unsafe.md @@ -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). diff --git a/src/doc/guide.md b/src/doc/guide.md new file mode 100644 index 000000000000..ba1e2590e7fa --- /dev/null +++ b/src/doc/guide.md @@ -0,0 +1,4 @@ +% The (old) Rust Guide + +This content has moved into the +[the Rust Programming Language book](book/README.html).