Skip to content

Commit 0473ee8

Browse files
committed
Auto merge of #14620 - epage:guideless, r=weihanglo
docs: Minor re-grouping of pages ### What does this PR try to resolve? In figuring out where MSRV documentation should live, I found the location of some items confusing - Publishing is written in more of a guide-form, rather than reference - Caching is written in more of a reference form, rather than a guide, and is more advanced - Dependency references were scattered, making it harder to find ### How should we test and review this PR? ### Additional information
2 parents a06986c + 3a0236f commit 0473ee8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+165
-161
lines changed

src/doc/book.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ smart-punctuation = true # Enable smart-punctuation feature for more than quotes
77
git-repository-url = "https://github.com/rust-lang/cargo/tree/master/src/doc/src"
88
edit-url-template = "https://github.com/rust-lang/cargo/edit/master/src/doc/{path}"
99
search.use-boolean-and = true
10+
11+
[output.html.redirect]
12+
"/guide/build-cache.html" = "../reference/build-cache.html"

src/doc/man/generated_txt/cargo-bench.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ OPTIONS
232232
Note that specifying this flag makes Cargo run in a different mode
233233
where the target artifacts are placed in a separate directory. See
234234
the build cache
235-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
235+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
236236
documentation for more details.
237237

238238
--profile name

src/doc/man/generated_txt/cargo-build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ OPTIONS
149149
Note that specifying this flag makes Cargo run in a different mode
150150
where the target artifacts are placed in a separate directory. See
151151
the build cache
152-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
152+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
153153
documentation for more details.
154154

155155
-r, --release

src/doc/man/generated_txt/cargo-check.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ OPTIONS
146146
Note that specifying this flag makes Cargo run in a different mode
147147
where the target artifacts are placed in a separate directory. See
148148
the build cache
149-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
149+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
150150
documentation for more details.
151151

152152
-r, --release

src/doc/man/generated_txt/cargo-clean.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ OPTIONS
5757
Note that specifying this flag makes Cargo run in a different mode
5858
where the target artifacts are placed in a separate directory. See
5959
the build cache
60-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
60+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
6161
documentation for more details.
6262

6363
Display Options

src/doc/man/generated_txt/cargo-doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ OPTIONS
124124
Note that specifying this flag makes Cargo run in a different mode
125125
where the target artifacts are placed in a separate directory. See
126126
the build cache
127-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
127+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
128128
documentation for more details.
129129

130130
-r, --release

src/doc/man/generated_txt/cargo-fetch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ OPTIONS
3737
Note that specifying this flag makes Cargo run in a different mode
3838
where the target artifacts are placed in a separate directory. See
3939
the build cache
40-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
40+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
4141
documentation for more details.
4242

4343
Display Options

src/doc/man/generated_txt/cargo-fix.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ OPTIONS
219219
Note that specifying this flag makes Cargo run in a different mode
220220
where the target artifacts are placed in a separate directory. See
221221
the build cache
222-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
222+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
223223
documentation for more details.
224224

225225
-r, --release

src/doc/man/generated_txt/cargo-install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ OPTIONS
197197
Note that specifying this flag makes Cargo run in a different mode
198198
where the target artifacts are placed in a separate directory. See
199199
the build cache
200-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
200+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
201201
documentation for more details.
202202

203203
--target-dir directory

src/doc/man/generated_txt/cargo-package.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ OPTIONS
144144
Note that specifying this flag makes Cargo run in a different mode
145145
where the target artifacts are placed in a separate directory. See
146146
the build cache
147-
<https://doc.rust-lang.org/cargo/guide/build-cache.html>
147+
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
148148
documentation for more details.
149149

150150
--target-dir directory

0 commit comments

Comments
 (0)