Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1443,8 +1443,14 @@ docs_data![
(alloc, "The Rust core allocation and collections library", "alloc/index.html"),
(book, "The Rust Programming Language book", "book/index.html"),
(cargo, "The Cargo Book", "cargo/index.html"),
(clippy, "The Clippy Documentation", "clippy/index.html"),
(core, "The Rust Core Library", "core/index.html"),
(edition_guide, "The Rust Edition Guide", "edition-guide/index.html"),
(embedded_book, "The Embedded Rust Book", "embedded-book/index.html"),

#[arg(long = "error_codes")]
(error_codes, "The Rust Error Codes Index", "error_codes/index.html"),

(nomicon, "The Dark Arts of Advanced and Unsafe Rust Programming", "nomicon/index.html"),

#[arg(long = "proc_macro")]
Expand All @@ -1455,9 +1461,9 @@ docs_data![
(rustc, "The compiler for the Rust programming language", "rustc/index.html"),
(rustdoc, "Documentation generator for Rust projects", "rustdoc/index.html"),
(std, "Standard library API documentation", "std/index.html"),
(style_guide, "The Rust Style Guide", "style-guide/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"),
];

async fn doc(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ Options:
--alloc The Rust core allocation and collections library
--book The Rust Programming Language book
--cargo The Cargo Book
--clippy The Clippy Documentation
--core The Rust Core Library
--edition-guide The Rust Edition Guide
--embedded-book The Embedded Rust Book
--error_codes The Rust Error Codes Index
--nomicon The Dark Arts of Advanced and Unsafe Rust Programming
--proc_macro A support library for macro authors when defining new macros
--reference The Rust Reference
Expand All @@ -28,10 +31,10 @@ Options:
--rustc The compiler for the Rust programming language
--rustdoc Documentation generator for Rust projects
--std Standard library API documentation
--style-guide The Rust Style Guide
--test Support code for rustc's built in unit-test and micro-benchmarking
framework
--unstable-book The Unstable Book
--embedded-book The Embedded Rust Book
-h, --help Print help

Discussion:
Expand Down
Loading