about summary refs log tree commit diff
path: root/src/tools/rustbook
AgeCommit message (Collapse)AuthorLines
2021-01-14Update mdbookEric Huss-1/+1
2021-01-04Update mdbookEric Huss-1/+1
2020-11-14Fix displaying errors when rustbook tests fail.Eric Huss-0/+2
2020-09-23Update mdBookCamelid-1/+1
0.4.2 -> 0.4.3
2020-06-26Update mdbook.Eric Huss-4/+10
2020-06-26Remove mdbook-linkcheck.Eric Huss-103/+0
2020-05-11rustbook: Bump mdbook dependencyIgor Matuszewski-1/+1
2020-04-07ignore 429's when linkcheckmark-1/+3
2020-02-14Auto merge of #69115 - ehuss:update-books, r=Dylan-DPCbors-7/+27
Update books. This required some changes in how the books are tested due to some changes in rust-lang/book. It uses new syntax that is not compatible with bare `rustdoc --test`. This changes it so that it uses rustbook to run the tests, which is essentially the same as `mdbook test`. ## reference 7 commits in 11e893fc1357bc688418ddf1087c2b7aa25d154d..64239df6d173562b9deb4f012e4c3e6e960c4754 2020-01-18 21:24:08 +0100 to 2020-02-10 19:05:13 +0100 - Update for nested receivers. (rust-lang-nursery/reference#724) - clarify note re. leading `::` in 2018 (rust-lang-nursery/reference#752) - Update macro-ambiguity.md (rust-lang-nursery/reference#754) - typo fix: add missing `by` (rust-lang-nursery/reference#753) - fix `TypeParamBounds` link on trait objects (rust-lang-nursery/reference#749) - reorganize docs on references (rust-lang-nursery/reference#745) - add MacroRepOp usage for ? (rust-lang-nursery/reference#744) ## book 49 commits in 87dd6843678575f8dda962f239d14ef4be14b352..6fb3705e5230311b096d47f7e2c91f9ce24393d0 2020-01-20 15:20:40 -0500 to 2020-02-12 13:48:57 -0500 - Fix nomicon links. (rust-lang/book#2253) - Update to Rust 1.41.0 (rust-lang/book#2244) - Listing 19-6: use ptr.add instead of ptr.offset (rust-lang/book#2201) - Remove unneeded mutable reference - Clarify deref coercion explanation - Fix typo in link to 1.30 book - Acknowledge Murphy's Law - Clarify that buffer overread is UB in C - Change from "must" to "idiomatic" about comments - Fancy quotes - Make HashMap types match previous example; add fwd ref to ch 13 - Tweak wording to array clarification - Merge remote-tracking branch 'origin/pr/2236' - Update all our crates (rust-lang/book#2235) - Reword git caveat - Merge remote-tracking branch 'origin/pr/2234' - Merge remote-tracking branch 'origin/pr/2230' - println! is a macro (rust-lang/book#2224) - Update a translated version link (rust-lang/book#2221) - move `Macro invocation` from section on tuple to section on mac… (rust-lang/book#2206) - Do not limit `Self` usage in trait implementation (rust-lang/book#2197) - Merge remote-tracking branch 'origin/pr/2191' - Fix wrapping - Merge remote-tracking branch 'origin/pr/2187' - Updated appendix 07 to reflect deprecation of rustup install (rust-lang/book#2181) - Make links to the Nomicon consistent - Merge remote-tracking branch 'origin/pr/2180' - Merge remote-tracking branch 'origin/pr/2175' - Merge remote-tracking branch 'origin/pr/2171' - Merge remote-tracking branch 'origin/pr/2170' - Clarify and make consistent the explanation of unions - Merge remote-tracking branch 'origin/pr/2166' - Handle dev or test in the Finished output line - Link to macros by example rather than macros (rust-lang/book#2164) - Merge remote-tracking branch 'origin/pr/2147' - Fix parens (rust-lang/book#2132) - Clarify type inference with closures requires calling the closures - Update link to French translation (rust-lang/book#2119) - Merge remote-tracking branch 'origin/pr/2108' - Add an explicit cross reference to data type - Merge remote-tracking branch 'origin/pr/2105' - ch15-02-deref: Improve explanation on immut-to-mut (rust-lang/book#2030) - Remove unnecessary quotes - Make markdown link identifier match - Remove extra newline - Merge remote-tracking branch 'origin/pr/2004' - Extract code and output; script formatting and updating them (rust-lang/book#2231) - Switch "Finally" to "Next" to reflect new chapters having been… (rust-lang/book#2098) - ch19-06 added curly braces to macro output (rust-lang/book#2050) ## rust-by-example 2 commits in 1c2bd024d13f8011307e13386cf1fea2180352b5..32facd5522ddbbf37baf01e4e4b6562bc55c071a 2020-01-20 12:18:36 -0300 to 2020-02-11 09:25:06 -0300 - Add missing `dyn` in code sample (rust-lang/rust-by-example#1306) - Improve grammar in a few sections (rust-lang/rust-by-example#1305) ## edition-guide 1 commits in 1a2390247ad6d08160e0dd74f40a01a9578659c2..37f9e6848411188a1062ead1bd8ebe4b8aa16899 2019-12-29 10:40:55 -0800 to 2020-02-10 14:36:14 +0100 - Fixed typo (rust-lang-nursery/edition-guide#196) ## embedded-book 4 commits in 4d78994915af1bde9a95c04a8c27d8dca066232a..b2e1092bf67bd4d7686c4553f186edbb7f5f92db 2020-01-14 08:25:25 +0000 to 2020-01-30 08:45:46 +0000 - Make typestate initialization notes correct (rust-embedded/book#224) - Mention discovery book more prominently (rust-embedded/book#219) - Replace nursery links with rust-lang links (rust-embedded/book#222) - Add a Glossary appendix page (rust-embedded/book#223)
2020-02-13don't error on network failuresMark Mansi-0/+2
2020-02-13Update books.Eric Huss-7/+27
2020-02-03some cleanup/fixesMark Mansi-7/+2
2020-02-03implement proper linkchecker hardeningmark-10/+62
2019-11-12Update mdbook.Eric Huss-31/+10
2019-10-28Use rustc-workspace-hack for rustbookSamuel Holland-0/+5
As rustbook now depends transitively on openssl, it needs access to the rustc-workspace-hack/all-static feature to pick up openssl-sys/vendored. This fixes the rust build with `all-static = true` on systems where openssl is not installed (e.g. when cross-compiling).
2019-09-05fix reviewer commentsMark Mansi-33/+33
2019-08-30actually compiles now?Mark Mansi-4/+7
2019-08-29fix bugs + review commentsMark Mansi-14/+15
2019-08-26filter linkcheck spurious failureMark Mansi-19/+35
2019-08-09Check links on all platforms when running locallyMateusz Mikuła-10/+10
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-2/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-07-17Update mdbook, cargo, booksEric Huss-54/+7
This updates the last of the books using mdbook 0.1, finally removing it from the build.
2019-07-06Don't return an error from linkcheck when it's not supported'André Luis Leal Cardoso Junior-4/+2
2019-07-06Ignore unused variable for non-linux buildsAndré Luis Leal Cardoso Junior-1/+1
2019-07-06fix macos buildMark Mansi-3/+8
2019-07-06cfg: linkcheck only on x86-64 linuxMark Mansi-3/+13
2019-07-06Add linkcheck command to rustbook toolAndré Luis Leal Cardoso Junior-2/+35
2019-06-20Update mdbookEric Huss-10/+9
2019-05-09Switch to SPDX 2.1 license expressionDavid Tolnay-1/+1
According to the Cargo Reference: https://doc.rust-lang.org/cargo/reference/manifest.html > This is an SPDX 2.1 license expression for this package. Currently > crates.io will validate the license provided against a whitelist of > known license and exception identifiers from the SPDX license list > 2.4. Parentheses are not currently supported. > > Multiple licenses can be separated with a `/`, although that usage > is deprecated. Instead, use a license expression with AND and OR > operators to get more explicit semantics.
2019-03-01tools/rustbook: deny(rust_2018_idioms)Mazdak Farrokhzad-4/+5
2019-01-30Update to newer version of mdbook(2)James Munns-1/+1
2019-01-30Remove stable featureJames Munns-2/+0
2019-01-30Only the compatibility items from the embedded book PRJames Munns-17/+67
PR: https://github.com/rust-lang/rust/pull/56291
2018-12-25Remove licensesMark Rousskov-9/+0
2018-04-22Update MDBookMatt Ickstadt-1/+1
2018-04-05update mdbooksteveklabnik-1/+2
This includes search for all books, a long-requested feature!
2018-02-04update mdbook to 0.1.2steveklabnik-4/+8
and improve printing of errors
2018-01-15Check for deadlinks from the summary during book generationest31-6/+8
Previously, any deadlinks from a book's SUMMARY.md wouldn't cause any errors or warnings or similar but mdbook would simply create a page with blank content. This has kept bug #47394 hidden. It should have been detected back in the PR when those wrongly named files got added to the book. PR #47414 was one component of the solution. This change is a second line of defense for the unstable book and a first line of defense for any other book. We also update mdbook to the most recent version.
2017-10-02update mdbooksteveklabnik-1/+1
Fixes #44704
2017-09-11update mdbooksteveklabnik-21/+8
2017-09-04rustbook: remove dead test functionsRalf Jung-9/+0
2017-07-11update crate dependenciessteveklabnik-2/+2
I wanted to update mdbook's version. This ended up updating a bunch of other stuff too.
2017-04-27Bump mdbook dep to pick up new 'create missing' toggle feature.Corey Farwell-5/+16
This will avoid obscure Travis CI error messages: * https://github.com/rust-lang/rust/pull/40290#issuecomment-294137045 Original mdbook issue: * https://github.com/azerupi/mdBook/issues/253 mdbook PR: * https://github.com/azerupi/mdBook/pull/254
2017-04-18update mdbooksteveklabnik-1/+1
2017-03-11Update mdbook to new versionsteveklabnik-1/+1
This brings back playpen integration for the books.
2017-02-28update mdbook versionSteve Klabnik-1/+1
This contains two important bugfixes
2017-02-20Update mdBook versionSteve Klabnik-1/+1
This brings in a needed bugfix.
2017-02-19Update mdbook versionSteve Klabnik-1/+1
This version of mdbook includes https://github.com/azerupi/mdBook/pull/207 , which is needed so that we can start doing linkchecker on the various books.
2017-02-13Add exceptions to tidySteve Klabnik-7/+18
We've decided that these deps are okay.
2017-02-13Re-implement rustbook in terms of mdbookSteve Klabnik-971/+87
mdbook has a lot of optional dependencies that we don't want, so instead of using it directly, we re-build rustbook to use mdbook as a library. For convenience' sake, we keep the same CLI interface as mdbook; the only difference is that it only accepts build and test subcommands, rather than the full range.