From 8baa207c4b445e78da09a2ea3ca9ae75f8067455 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 17 Mar 2023 20:02:40 -0500 Subject: [PATCH] docs(contrib): Replace architecture with redirects I also went back to pages moved in #11869 and added redirects for those as well. --- src/doc/contrib/book.toml | 7 +++++++ src/doc/contrib/src/SUMMARY.md | 5 ----- src/doc/contrib/src/architecture/codebase.md | 3 --- src/doc/contrib/src/architecture/compilation.md | 3 --- src/doc/contrib/src/architecture/files.md | 3 --- src/doc/contrib/src/architecture/index.md | 8 -------- src/doc/contrib/src/architecture/packages.md | 3 --- 7 files changed, 7 insertions(+), 25 deletions(-) delete mode 100644 src/doc/contrib/src/architecture/codebase.md delete mode 100644 src/doc/contrib/src/architecture/compilation.md delete mode 100644 src/doc/contrib/src/architecture/files.md delete mode 100644 src/doc/contrib/src/architecture/index.md delete mode 100644 src/doc/contrib/src/architecture/packages.md diff --git a/src/doc/contrib/book.toml b/src/doc/contrib/book.toml index d6697f37f5c..628179c0d8b 100644 --- a/src/doc/contrib/book.toml +++ b/src/doc/contrib/book.toml @@ -8,3 +8,10 @@ git-repository-url = "/~https://github.com/rust-lang/cargo/tree/master/src/doc/con [output.html.redirect] "/apidoc/cargo/index.html" = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo/" +"/architecture/index.html" = "../implementation/architecture.html" +"/architecture/console.html" = "../implementation/console.html" +"/architecture/subcommands.html" = "../implementation/subcommands.html" +"/architecture/codebase.html" = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo" +"/architecture/compilation.html" = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo" +"/architecture/files.html" = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo" +"/architecture/packages.html" = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo" diff --git a/src/doc/contrib/src/SUMMARY.md b/src/doc/contrib/src/SUMMARY.md index 046ab556e25..643cc5ac79d 100644 --- a/src/doc/contrib/src/SUMMARY.md +++ b/src/doc/contrib/src/SUMMARY.md @@ -13,11 +13,6 @@ - [Console Output](./implementation/console.md) - [Filesystem](./implementation/filesystem.md) - [Debugging](./implementation/debugging.md) -- [Architecture](./architecture/index.md) - - [Codebase Overview](./architecture/codebase.md) - - [Packages and Resolution](./architecture/packages.md) - - [Compilation](./architecture/compilation.md) - - [Files](./architecture/files.md) - [Tests](./tests/index.md) - [Running Tests](./tests/running.md) - [Writing Tests](./tests/writing.md) diff --git a/src/doc/contrib/src/architecture/codebase.md b/src/doc/contrib/src/architecture/codebase.md deleted file mode 100644 index e33fc51c237..00000000000 --- a/src/doc/contrib/src/architecture/codebase.md +++ /dev/null @@ -1,3 +0,0 @@ -# Codebase Overview - -See [nightly docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo/index.html) diff --git a/src/doc/contrib/src/architecture/compilation.md b/src/doc/contrib/src/architecture/compilation.md deleted file mode 100644 index 37b22f6273c..00000000000 --- a/src/doc/contrib/src/architecture/compilation.md +++ /dev/null @@ -1,3 +0,0 @@ -# Compilation - -See [nightly docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo/ops/cargo_compile/index.html) diff --git a/src/doc/contrib/src/architecture/files.md b/src/doc/contrib/src/architecture/files.md deleted file mode 100644 index 2e430430a96..00000000000 --- a/src/doc/contrib/src/architecture/files.md +++ /dev/null @@ -1,3 +0,0 @@ -# Files - -See [nightly docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo/index.html) diff --git a/src/doc/contrib/src/architecture/index.md b/src/doc/contrib/src/architecture/index.md deleted file mode 100644 index 64b25b93ade..00000000000 --- a/src/doc/contrib/src/architecture/index.md +++ /dev/null @@ -1,8 +0,0 @@ -# Architecture Overview - -This chapter gives a very high-level overview of Cargo's architecture. This is -intended to give you links into the code which is hopefully commented with -more in-depth information. - -If you feel something is missing that would help you, feel free to ask on -[Zulip](https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo). diff --git a/src/doc/contrib/src/architecture/packages.md b/src/doc/contrib/src/architecture/packages.md deleted file mode 100644 index 5389c252af8..00000000000 --- a/src/doc/contrib/src/architecture/packages.md +++ /dev/null @@ -1,3 +0,0 @@ -# Packages and Resolution - -See [nightly docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo/index.html)