about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorJustus K <justus.k@protonmail.com>2021-05-18 19:10:39 +0200
committerGitHub <noreply@github.com>2021-05-18 19:10:39 +0200
commit2e2bc4b3217c06902774fc771f80dd66c62ae4d0 (patch)
treec47e283200c0b80c439cea19468de6b36860441c /src/doc
parent86fbfc6731e5ffa979922ea80c6808ea8d4071ba (diff)
downloadrust-2e2bc4b3217c06902774fc771f80dd66c62ae4d0.tar.gz
rust-2e2bc4b3217c06902774fc771f80dd66c62ae4d0.zip
Remove `--stage 1` argument from `doc` invocations (#1125)
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/rustdoc-internals.md2
-rw-r--r--src/doc/rustc-dev-guide/src/rustdoc.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/rustdoc-internals.md b/src/doc/rustc-dev-guide/src/rustdoc-internals.md
index b2dc2f7fd1e..7ae68cc21c8 100644
--- a/src/doc/rustc-dev-guide/src/rustdoc-internals.md
+++ b/src/doc/rustc-dev-guide/src/rustdoc-internals.md
@@ -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
 ```
diff --git a/src/doc/rustc-dev-guide/src/rustdoc.md b/src/doc/rustc-dev-guide/src/rustdoc.md
index 88177ccba81..2123d2b748d 100644
--- a/src/doc/rustc-dev-guide/src/rustdoc.md
+++ b/src/doc/rustc-dev-guide/src/rustdoc.md
@@ -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