Remove `--stage 1` argument from `doc` invocations (#1125)

This commit is contained in:
Justus K 2021-05-18 19:10:39 +02:00 committed by GitHub
parent c989a4db5b
commit 8faa1646f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ server. To test these features locally, you can run a local HTTP server, like
this:
```bash
$ ./x.py doc library/std --stage 1
$ ./x.py doc library/std
# The documentation has been generated into `build/[YOUR ARCH]/doc`.
$ python3 -m http.server -d build/[YOUR ARCH]/doc
```

View File

@ -42,7 +42,7 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
* If you've used `rustup toolchain link local /path/to/build/$TARGET/stage1`
previously, then after the previous build command, `cargo +local doc` will
Just Work.
* Use `./x.py doc --stage 1 library/std` to use this rustdoc to generate the
* Use `./x.py doc library/std` to use this rustdoc to generate the
standard library docs.
* The completed docs will be available in `build/$TARGET/doc/std`, though the
bundle is meant to be used as though you would copy out the `doc` folder to