File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,28 @@ Read ["Installing Rust"] from [The Book].
82
82
$ make && make install
83
83
` ` `
84
84
85
+ # # Building Documentation
86
+
87
+ If you’d like to build the documentation, it’s almost the same:
88
+
89
+ ` ` ` sh
90
+ ./configure
91
+ $ make docs
92
+ ` ` `
93
+
94
+ Building the documentation requires building the compiler, so the above
95
+ details will apply. Once you have the compiler built, you can
96
+
97
+ ` ` ` sh
98
+ $ make docs NO_REBUILD=1
99
+ ` ` `
100
+
101
+ To make sure you don’t re-build the compiler because you made a change
102
+ to some documentation.
103
+
104
+ The generated documentation will appear in a top-level ` doc` directory,
105
+ created by the ` make` rule.
106
+
85
107
# # Notes
86
108
87
109
Since the Rust compiler is written in Rust, it must be built by a
You can’t perform that action at this time.
0 commit comments