Skip to content

Commit 2e10462

Browse files
jyn514mark-i-m
authored andcommitted
Move x.py commands to overview
1 parent 4329b8e commit 2e10462

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/rustdoc-internals.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,3 @@ runtime. These tests don't have as thorough of a writeup, but a broad example
192192
that features results in all tabs can be found in `basic.js`. The basic idea is
193193
that you match a given `QUERY` with a set of `EXPECTED` results, complete with
194194
the full item path of each item.
195-
196-
You can run tests using the name of the folder. For example,
197-
`x.py test --stage 1 src/test/rustdoc` will run the output tests using a stage1 rustdoc.

src/rustdoc.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
4141
* The completed docs will be available in `build/$TARGET/doc/std`, though the
4242
bundle is meant to be used as though you would copy out the `doc` folder to
4343
a web server, since that's where the CSS/JS and landing page are.
44+
* Use `x.py test --stage 1 src/test/rustdoc*` to run the tests using a stage1 rustdoc.
45+
* See [rustdoc internals] for more information about tests.
4446
* Most of the HTML printing code is in `html/format.rs` and `html/render.rs`.
4547
It's in a bunch of `fmt::Display` implementations and supplementary
4648
functions.
@@ -58,4 +60,6 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
5860

5961
## See also
6062

61-
For more details about how rustdoc works, see the page on [rustdoc internals](./rustdoc-internals.md).
63+
For more details about how rustdoc works, see the page on [rustdoc internals].
64+
65+
[rustdoc internals]: ./rustdoc-internals.md

0 commit comments

Comments
 (0)