Skip to content

Commit a1301c3

Browse files
committedFeb 22, 2017
Create "The Unstable Book"
part of rust-lang#39588
1 parent fc6f092 commit a1301c3

File tree

94 files changed

+198
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+198
-2
lines changed
 

‎src/bootstrap/step.rs

+9
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,15 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
577577
})
578578
.default(build.config.docs)
579579
.run(move |s| doc::rustbook(build, s.target, "reference"));
580+
rules.doc("doc-unstable-book", "src/doc/unstable-book")
581+
.dep(move |s| {
582+
s.name("tool-rustbook")
583+
.host(&build.config.build)
584+
.target(&build.config.build)
585+
.stage(0)
586+
})
587+
.default(build.config.docs)
588+
.run(move |s| doc::rustbook(build, s.target, "unstable-book"));
580589
rules.doc("doc-standalone", "src/doc")
581590
.dep(move |s| {
582591
s.name("rustc")

‎src/doc/unstable-book/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
book

0 commit comments

Comments
 (0)
Please sign in to comment.