File tree 1 file changed +4
-4
lines changed
src/doc/rustc-dev-guide/src/building
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Building documentation
2
2
3
3
This chapter describes how to build documentation of toolchain components,
4
- either in whole or individually .
4
+ like the standard library (std) or the compiler (rustc) .
5
5
6
6
- Document everything
7
7
8
8
This uses ` rustdoc ` from the beta toolchain,
9
9
so will produce (slightly) different output to stage 1 rustdoc,
10
- as ` rustdoc ` is under active development:
10
+ as rustdoc is under active development:
11
11
12
12
``` bash
13
13
./x.py doc
@@ -20,8 +20,8 @@ either in whole or individually.
20
20
```
21
21
22
22
First,
23
- the compiler and rustdoc get built to make sure everything is okay ,
24
- and then it documents the files .
23
+ the compiler gets built to make sure rustdoc compiles ,
24
+ then that newly-built rustdoc is used to document the components .
25
25
26
26
- Much like running individual tests or building specific components,
27
27
you can build just the documentation you want:
You can’t perform that action at this time.
0 commit comments