Skip to content

Commit

Permalink
Remove --stage 1 argument from doc invocations (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stupremee authored May 18, 2021
1 parent c989a4d commit 8faa164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rustdoc-internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion src/rustdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8faa164

Please sign in to comment.