Skip to content

Commit

Permalink
Merge pull request #1762 from ryochack/doc-embedded-book
Browse files Browse the repository at this point in the history
Add `--embedded-book` flag to `rustup doc`
  • Loading branch information
kinnison committed Apr 14, 2019
2 parents 4a09aa9 + 6294d4a commit 78b7689
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/rustup_mode.rs
Expand Up @@ -1062,6 +1062,7 @@ const DOCS_DATA: &[(&'static str, &'static str, &'static str,)] = &[
("std", "Standard library API documentation", "std/index.html"),
("test", "Support code for rustc's built in unit-test and micro-benchmarking framework", "test/index.html"),
("unstable-book", "The Unstable Book", "unstable-book/index.html"),
("embedded-book", "The Embedded Rust Book", "embedded-book/index.html"),
];

fn doc(cfg: &Cfg, m: &ArgMatches<'_>) -> Result<()> {
Expand Down

0 comments on commit 78b7689

Please sign in to comment.