Skip to content

Commit 25a907d

Browse files
authored
Rollup merge of rust-lang#50952 - steveklabnik:2018-book, r=alexcrichton
Add the 2018 edition of the book to doc.rust-lang.org The second edition of the book is on its way to the printers, and as such, is frozen. We've forked off the 2018 edition to add new stuff to; this PR now builds it so that people can read it on doc.rust-lang.org.
2 parents c717a70 + 292be70 commit 25a907d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/bootstrap/doc.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,12 @@ impl Step for TheBook {
272272
name: INTERNER.intern_string(format!("{}/second-edition", name)),
273273
});
274274

275+
// build book 2018 edition
276+
builder.ensure(Rustbook {
277+
target,
278+
name: INTERNER.intern_string(format!("{}/2018-edition", name)),
279+
});
280+
275281
// build the version info page and CSS
276282
builder.ensure(Standalone {
277283
compiler,

src/doc/book

Submodule book updated 110 files

0 commit comments

Comments
 (0)