Skip to content

Commit fac70ee

Browse files
committed
Update links to rustup docs.
1 parent 05c611a commit fac70ee

Some content is hidden

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

93 files changed

+131
-126
lines changed

src/doc/man/cargo.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ environment variable.
174174

175175
`$CARGO_HOME/bin/`\
176176
    Binaries installed by {{man "cargo-install" 1}} will be located here. If using
177-
rustup, executables distributed with Rust are also located here.
177+
[rustup], executables distributed with Rust are also located here.
178178

179179
`$CARGO_HOME/config.toml`\
180180
    The global configuration file. See [the reference](../reference/config.html)
@@ -198,6 +198,8 @@ downloaded dependencies.
198198
Please note that the internal structure of the `$CARGO_HOME` directory is not
199199
stable yet and may be subject to change.
200200

201+
[rustup]: https://rust-lang.github.io/rustup/
202+
201203
## EXAMPLES
202204

203205
1. Build a local package and all of its dependencies:

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ OPTIONS
286286
If Cargo has been installed with rustup, and the first argument to
287287
cargo begins with +, it will be interpreted as a rustup toolchain
288288
name (such as +stable or +nightly). See the rustup documentation
289-
<https://github.com/rust-lang/rustup/> for more information about
290-
how toolchain overrides work.
289+
<https://rust-lang.github.io/rustup/overrides.html> for more
290+
information about how toolchain overrides work.
291291

292292
-h, --help
293293
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ OPTIONS
245245
If Cargo has been installed with rustup, and the first argument to
246246
cargo begins with +, it will be interpreted as a rustup toolchain
247247
name (such as +stable or +nightly). See the rustup documentation
248-
<https://github.com/rust-lang/rustup/> for more information about
249-
how toolchain overrides work.
248+
<https://rust-lang.github.io/rustup/overrides.html> for more
249+
information about how toolchain overrides work.
250250

251251
-h, --help
252252
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ OPTIONS
239239
If Cargo has been installed with rustup, and the first argument to
240240
cargo begins with +, it will be interpreted as a rustup toolchain
241241
name (such as +stable or +nightly). See the rustup documentation
242-
<https://github.com/rust-lang/rustup/> for more information about
243-
how toolchain overrides work.
242+
<https://rust-lang.github.io/rustup/overrides.html> for more
243+
information about how toolchain overrides work.
244244

245245
-h, --help
246246
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ OPTIONS
111111
If Cargo has been installed with rustup, and the first argument to
112112
cargo begins with +, it will be interpreted as a rustup toolchain
113113
name (such as +stable or +nightly). See the rustup documentation
114-
<https://github.com/rust-lang/rustup/> for more information about
115-
how toolchain overrides work.
114+
<https://rust-lang.github.io/rustup/overrides.html> for more
115+
information about how toolchain overrides work.
116116

117117
-h, --help
118118
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ OPTIONS
206206
If Cargo has been installed with rustup, and the first argument to
207207
cargo begins with +, it will be interpreted as a rustup toolchain
208208
name (such as +stable or +nightly). See the rustup documentation
209-
<https://github.com/rust-lang/rustup/> for more information about
210-
how toolchain overrides work.
209+
<https://rust-lang.github.io/rustup/overrides.html> for more
210+
information about how toolchain overrides work.
211211

212212
-h, --help
213213
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ OPTIONS
9898
If Cargo has been installed with rustup, and the first argument to
9999
cargo begins with +, it will be interpreted as a rustup toolchain
100100
name (such as +stable or +nightly). See the rustup documentation
101-
<https://github.com/rust-lang/rustup/> for more information about
102-
how toolchain overrides work.
101+
<https://rust-lang.github.io/rustup/overrides.html> for more
102+
information about how toolchain overrides work.
103103

104104
-h, --help
105105
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ OPTIONS
287287
If Cargo has been installed with rustup, and the first argument to
288288
cargo begins with +, it will be interpreted as a rustup toolchain
289289
name (such as +stable or +nightly). See the rustup documentation
290-
<https://github.com/rust-lang/rustup/> for more information about
291-
how toolchain overrides work.
290+
<https://rust-lang.github.io/rustup/overrides.html> for more
291+
information about how toolchain overrides work.
292292

293293
-h, --help
294294
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ OPTIONS
7474
If Cargo has been installed with rustup, and the first argument to
7575
cargo begins with +, it will be interpreted as a rustup toolchain
7676
name (such as +stable or +nightly). See the rustup documentation
77-
<https://github.com/rust-lang/rustup/> for more information about
78-
how toolchain overrides work.
77+
<https://rust-lang.github.io/rustup/overrides.html> for more
78+
information about how toolchain overrides work.
7979

8080
-h, --help
8181
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ OPTIONS
120120
If Cargo has been installed with rustup, and the first argument to
121121
cargo begins with +, it will be interpreted as a rustup toolchain
122122
name (such as +stable or +nightly). See the rustup documentation
123-
<https://github.com/rust-lang/rustup/> for more information about
124-
how toolchain overrides work.
123+
<https://rust-lang.github.io/rustup/overrides.html> for more
124+
information about how toolchain overrides work.
125125

126126
-h, --help
127127
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ OPTIONS
260260
If Cargo has been installed with rustup, and the first argument to
261261
cargo begins with +, it will be interpreted as a rustup toolchain
262262
name (such as +stable or +nightly). See the rustup documentation
263-
<https://github.com/rust-lang/rustup/> for more information about
264-
how toolchain overrides work.
263+
<https://rust-lang.github.io/rustup/overrides.html> for more
264+
information about how toolchain overrides work.
265265

266266
-h, --help
267267
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ OPTIONS
5757
If Cargo has been installed with rustup, and the first argument to
5858
cargo begins with +, it will be interpreted as a rustup toolchain
5959
name (such as +stable or +nightly). See the rustup documentation
60-
<https://github.com/rust-lang/rustup/> for more information about
61-
how toolchain overrides work.
60+
<https://rust-lang.github.io/rustup/overrides.html> for more
61+
information about how toolchain overrides work.
6262

6363
-h, --help
6464
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ OPTIONS
5757
If Cargo has been installed with rustup, and the first argument to
5858
cargo begins with +, it will be interpreted as a rustup toolchain
5959
name (such as +stable or +nightly). See the rustup documentation
60-
<https://github.com/rust-lang/rustup/> for more information about
61-
how toolchain overrides work.
60+
<https://rust-lang.github.io/rustup/overrides.html> for more
61+
information about how toolchain overrides work.
6262

6363
-h, --help
6464
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ OPTIONS
375375
If Cargo has been installed with rustup, and the first argument to
376376
cargo begins with +, it will be interpreted as a rustup toolchain
377377
name (such as +stable or +nightly). See the rustup documentation
378-
<https://github.com/rust-lang/rustup/> for more information about
379-
how toolchain overrides work.
378+
<https://rust-lang.github.io/rustup/overrides.html> for more
379+
information about how toolchain overrides work.
380380

381381
-h, --help
382382
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ OPTIONS
115115
If Cargo has been installed with rustup, and the first argument to
116116
cargo begins with +, it will be interpreted as a rustup toolchain
117117
name (such as +stable or +nightly). See the rustup documentation
118-
<https://github.com/rust-lang/rustup/> for more information about
119-
how toolchain overrides work.
118+
<https://rust-lang.github.io/rustup/overrides.html> for more
119+
information about how toolchain overrides work.
120120

121121
-h, --help
122122
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ OPTIONS
8484
If Cargo has been installed with rustup, and the first argument to
8585
cargo begins with +, it will be interpreted as a rustup toolchain
8686
name (such as +stable or +nightly). See the rustup documentation
87-
<https://github.com/rust-lang/rustup/> for more information about
88-
how toolchain overrides work.
87+
<https://rust-lang.github.io/rustup/overrides.html> for more
88+
information about how toolchain overrides work.
8989

9090
-h, --help
9191
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ OPTIONS
174174
If Cargo has been installed with rustup, and the first argument to
175175
cargo begins with +, it will be interpreted as a rustup toolchain
176176
name (such as +stable or +nightly). See the rustup documentation
177-
<https://github.com/rust-lang/rustup/> for more information about
178-
how toolchain overrides work.
177+
<https://rust-lang.github.io/rustup/overrides.html> for more
178+
information about how toolchain overrides work.
179179

180180
-h, --help
181181
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ OPTIONS
104104
If Cargo has been installed with rustup, and the first argument to
105105
cargo begins with +, it will be interpreted as a rustup toolchain
106106
name (such as +stable or +nightly). See the rustup documentation
107-
<https://github.com/rust-lang/rustup/> for more information about
108-
how toolchain overrides work.
107+
<https://rust-lang.github.io/rustup/overrides.html> for more
108+
information about how toolchain overrides work.
109109

110110
-h, --help
111111
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ OPTIONS
180180
If Cargo has been installed with rustup, and the first argument to
181181
cargo begins with +, it will be interpreted as a rustup toolchain
182182
name (such as +stable or +nightly). See the rustup documentation
183-
<https://github.com/rust-lang/rustup/> for more information about
184-
how toolchain overrides work.
183+
<https://rust-lang.github.io/rustup/overrides.html> for more
184+
information about how toolchain overrides work.
185185

186186
-h, --help
187187
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ OPTIONS
169169
If Cargo has been installed with rustup, and the first argument to
170170
cargo begins with +, it will be interpreted as a rustup toolchain
171171
name (such as +stable or +nightly). See the rustup documentation
172-
<https://github.com/rust-lang/rustup/> for more information about
173-
how toolchain overrides work.
172+
<https://rust-lang.github.io/rustup/overrides.html> for more
173+
information about how toolchain overrides work.
174174

175175
-h, --help
176176
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ OPTIONS
226226
If Cargo has been installed with rustup, and the first argument to
227227
cargo begins with +, it will be interpreted as a rustup toolchain
228228
name (such as +stable or +nightly). See the rustup documentation
229-
<https://github.com/rust-lang/rustup/> for more information about
230-
how toolchain overrides work.
229+
<https://rust-lang.github.io/rustup/overrides.html> for more
230+
information about how toolchain overrides work.
231231

232232
-h, --help
233233
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ OPTIONS
233233
If Cargo has been installed with rustup, and the first argument to
234234
cargo begins with +, it will be interpreted as a rustup toolchain
235235
name (such as +stable or +nightly). See the rustup documentation
236-
<https://github.com/rust-lang/rustup/> for more information about
237-
how toolchain overrides work.
236+
<https://rust-lang.github.io/rustup/overrides.html> for more
237+
information about how toolchain overrides work.
238238

239239
-h, --help
240240
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ OPTIONS
5454
If Cargo has been installed with rustup, and the first argument to
5555
cargo begins with +, it will be interpreted as a rustup toolchain
5656
name (such as +stable or +nightly). See the rustup documentation
57-
<https://github.com/rust-lang/rustup/> for more information about
58-
how toolchain overrides work.
57+
<https://rust-lang.github.io/rustup/overrides.html> for more
58+
information about how toolchain overrides work.
5959

6060
-h, --help
6161
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ OPTIONS
308308
If Cargo has been installed with rustup, and the first argument to
309309
cargo begins with +, it will be interpreted as a rustup toolchain
310310
name (such as +stable or +nightly). See the rustup documentation
311-
<https://github.com/rust-lang/rustup/> for more information about
312-
how toolchain overrides work.
311+
<https://rust-lang.github.io/rustup/overrides.html> for more
312+
information about how toolchain overrides work.
313313

314314
-h, --help
315315
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ OPTIONS
247247
If Cargo has been installed with rustup, and the first argument to
248248
cargo begins with +, it will be interpreted as a rustup toolchain
249249
name (such as +stable or +nightly). See the rustup documentation
250-
<https://github.com/rust-lang/rustup/> for more information about
251-
how toolchain overrides work.
250+
<https://rust-lang.github.io/rustup/overrides.html> for more
251+
information about how toolchain overrides work.
252252

253253
-h, --help
254254
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ OPTIONS
6666
If Cargo has been installed with rustup, and the first argument to
6767
cargo begins with +, it will be interpreted as a rustup toolchain
6868
name (such as +stable or +nightly). See the rustup documentation
69-
<https://github.com/rust-lang/rustup/> for more information about
70-
how toolchain overrides work.
69+
<https://rust-lang.github.io/rustup/overrides.html> for more
70+
information about how toolchain overrides work.
7171

7272
-h, --help
7373
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ OPTIONS
9999
If Cargo has been installed with rustup, and the first argument to
100100
cargo begins with +, it will be interpreted as a rustup toolchain
101101
name (such as +stable or +nightly). See the rustup documentation
102-
<https://github.com/rust-lang/rustup/> for more information about
103-
how toolchain overrides work.
102+
<https://rust-lang.github.io/rustup/overrides.html> for more
103+
information about how toolchain overrides work.
104104

105105
-h, --help
106106
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ OPTIONS
9999
If Cargo has been installed with rustup, and the first argument to
100100
cargo begins with +, it will be interpreted as a rustup toolchain
101101
name (such as +stable or +nightly). See the rustup documentation
102-
<https://github.com/rust-lang/rustup/> for more information about
103-
how toolchain overrides work.
102+
<https://rust-lang.github.io/rustup/overrides.html> for more
103+
information about how toolchain overrides work.
104104

105105
-h, --help
106106
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ OPTIONS
7777
If Cargo has been installed with rustup, and the first argument to
7878
cargo begins with +, it will be interpreted as a rustup toolchain
7979
name (such as +stable or +nightly). See the rustup documentation
80-
<https://github.com/rust-lang/rustup/> for more information about
81-
how toolchain overrides work.
80+
<https://rust-lang.github.io/rustup/overrides.html> for more
81+
information about how toolchain overrides work.
8282

8383
-h, --help
8484
Prints help information.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ OPTIONS
7979
If Cargo has been installed with rustup, and the first argument to
8080
cargo begins with +, it will be interpreted as a rustup toolchain
8181
name (such as +stable or +nightly). See the rustup documentation
82-
<https://github.com/rust-lang/rustup/> for more information about
83-
how toolchain overrides work.
82+
<https://rust-lang.github.io/rustup/overrides.html> for more
83+
information about how toolchain overrides work.
8484

8585
-h, --help
8686
Prints help information.

src/doc/man/generated_txt/cargo.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ OPTIONS
183183
If Cargo has been installed with rustup, and the first argument to
184184
cargo begins with +, it will be interpreted as a rustup toolchain
185185
name (such as +stable or +nightly). See the rustup documentation
186-
<https://github.com/rust-lang/rustup/> for more information about
187-
how toolchain overrides work.
186+
<https://rust-lang.github.io/rustup/overrides.html> for more
187+
information about how toolchain overrides work.
188188

189189
-h, --help
190190
Prints help information.
@@ -211,7 +211,8 @@ FILES
211211

212212
$CARGO_HOME/bin/
213213
    Binaries installed by cargo-install(1) will be located here. If
214-
using rustup, executables distributed with Rust are also located here.
214+
using rustup <https://rust-lang.github.io/rustup/>, executables
215+
distributed with Rust are also located here.
215216

216217
$CARGO_HOME/config.toml
217218
    The global configuration file. See the reference

src/doc/man/includes/section-options-common.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
If Cargo has been installed with rustup, and the first argument to `cargo`
77
begins with `+`, it will be interpreted as a rustup toolchain name (such
88
as `+stable` or `+nightly`).
9-
See the [rustup documentation](https://github.com/rust-lang/rustup/)
9+
See the [rustup documentation](https://rust-lang.github.io/rustup/overrides.html)
1010
for more information about how toolchain overrides work.
1111
{{/option}}
1212

src/doc/src/commands/cargo-bench.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ offline.</p>
348348
<dd class="option-desc">If Cargo has been installed with rustup, and the first argument to <code>cargo</code>
349349
begins with <code>+</code>, it will be interpreted as a rustup toolchain name (such
350350
as <code>+stable</code> or <code>+nightly</code>).
351-
See the <a href="https://github.com/rust-lang/rustup/">rustup documentation</a>
351+
See the <a href="https://rust-lang.github.io/rustup/overrides.html">rustup documentation</a>
352352
for more information about how toolchain overrides work.</dd>
353353

354354

src/doc/src/commands/cargo-build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ offline.</p>
304304
<dd class="option-desc">If Cargo has been installed with rustup, and the first argument to <code>cargo</code>
305305
begins with <code>+</code>, it will be interpreted as a rustup toolchain name (such
306306
as <code>+stable</code> or <code>+nightly</code>).
307-
See the <a href="https://github.com/rust-lang/rustup/">rustup documentation</a>
307+
See the <a href="https://rust-lang.github.io/rustup/overrides.html">rustup documentation</a>
308308
for more information about how toolchain overrides work.</dd>
309309

310310

src/doc/src/commands/cargo-check.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ offline.</p>
300300
<dd class="option-desc">If Cargo has been installed with rustup, and the first argument to <code>cargo</code>
301301
begins with <code>+</code>, it will be interpreted as a rustup toolchain name (such
302302
as <code>+stable</code> or <code>+nightly</code>).
303-
See the <a href="https://github.com/rust-lang/rustup/">rustup documentation</a>
303+
See the <a href="https://rust-lang.github.io/rustup/overrides.html">rustup documentation</a>
304304
for more information about how toolchain overrides work.</dd>
305305

306306

0 commit comments

Comments
 (0)