Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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