Skip to content

Commit

Permalink
docs(contrib): Replace architecture with redirects
Browse files Browse the repository at this point in the history
I also went back to pages moved in rust-lang#11869 and added redirects for those
as well.
  • Loading branch information
epage committed Mar 18, 2023
1 parent 00030f6 commit 8baa207
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 25 deletions.
7 changes: 7 additions & 0 deletions src/doc/contrib/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
5 changes: 0 additions & 5 deletions src/doc/contrib/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions src/doc/contrib/src/architecture/codebase.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/doc/contrib/src/architecture/compilation.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/doc/contrib/src/architecture/files.md

This file was deleted.

8 changes: 0 additions & 8 deletions src/doc/contrib/src/architecture/index.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/doc/contrib/src/architecture/packages.md

This file was deleted.

0 comments on commit 8baa207

Please sign in to comment.