Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more links of books, especially in Chinese version #175

Merged
merged 3 commits into from
Jul 7, 2022
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
37 changes: 36 additions & 1 deletion extension/index/commands.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion extension/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ function getPlatformOs() {

const commandIndex = await IndexManager.getCommandIndex();
const cargoCommand = new SimpleCommand('cargo', 'Show all useful third-party cargo subcommands.', commandIndex['cargo']);
const bookCommand = new SimpleCommand('book', 'Show all Rust official books.', commandIndex['book']);
const bookCommand = new SimpleCommand('book', 'Show all Rust books.', commandIndex['book']);
const bookZhCommand = new SimpleCommand('book/zh', 'Show all Chinese Rust books.', commandIndex['book/zh']);
const yetCommand = new SimpleCommand('yet', 'Show all Are We Yet websites.', commandIndex['yet']);
const toolCommand = new SimpleCommand('tool', 'Show some most useful Rust tools.', commandIndex['tool']);
const mirrorCommand = new SimpleCommand('mirror', 'Show all Rust mirror websites.', commandIndex['mirror']);
Expand All @@ -45,6 +46,7 @@ function getPlatformOs() {
const commandManager = new CommandManager(
cargoCommand,
bookCommand,
bookZhCommand,
yetCommand,
toolCommand,
mirrorCommand,
Expand Down