From e37d206e621a347588318dc3005c848e384b7b38 Mon Sep 17 00:00:00 2001 From: Folyd Date: Sun, 1 Sep 2024 11:42:52 +0800 Subject: [PATCH] Link to query.rs --- README.md | 13 ++++++------- docs/config.toml | 9 ++++----- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0e6ff078..79d7f516 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - ![](assets/rustacean.gif) # Rust Search Extension @@ -14,10 +13,12 @@ [![license-apache](https://img.shields.io/badge/license-Apache-yellow.svg)](https://github.com/huhu/rust-search-extension/blob/master/LICENSE-APACHE) [![Discord](https://img.shields.io/discord/711895914494558250?label=chat&logo=discord)](https://discord.gg/xucZNVd) -Search **docs**, **crates**, builtin **attributes**, official **books**, and **error codes**, etc in your address bar instantly. +Search **docs**, **crates**, builtin **attributes**, official **books**, and **error codes**, etc in your address bar instantly. [https://rust.extension.sh/](https://rust.extension.sh/) +**Query.rs is the next generation search engine for Rust: https://query.rs** + ## Installation - [Chrome Web Store](https://chrome.google.com/webstore/detail/rust-search-extension/ennpfpdlaclocpomkiablnmbppdnlhoh) @@ -31,7 +32,7 @@ Search **docs**, **crates**, builtin **attributes**, official **books**, and **e - Search Primitive Types and Modules - Search Structs, Traits and Enums - Search Functions, Methods and Macros -- Search builtin attributes +- Search builtin attributes - Search nightly and rustc docs - Search crates on https://crates.io or https://lib.rs - Search any third-party crate's docs @@ -48,15 +49,13 @@ Search **docs**, **crates**, builtin **attributes**, official **books**, and **e ## How to use it -Input keyword **rs** in the address bar, press `Space` to activate the search bar. Then enter any word -you want to search, the extension will response the related search results instantly. +Input keyword **rs** in the address bar, press `Space` to activate the search bar. Then enter any word you want to search, the extension will response the related search results instantly. ![demonstration.gif](assets/demonstration.gif) ## Contribution -[jsonnet](https://jsonnet.org/) is required before getting started. To install `jsonnet`, -please check `jsonnet`'s [README](https://github.com/google/jsonnet#packages). +[jsonnet](https://jsonnet.org/) is required before getting started. To install `jsonnet`, please check `jsonnet`'s [README](https://github.com/google/jsonnet#packages). For Linux users, the `snap` is a good choice to [install jsonnet](https://snapcraft.io/install/jsonnet/ubuntu). ```bash diff --git a/docs/config.toml b/docs/config.toml index 5d9e6538..1250f34b 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -22,11 +22,10 @@ highlight_theme = "inspired-github" juice_logo_name = "Rust Search Extension" juice_logo_path = "logo.png" juice_extra_menu = [ - { title = "Github", link = "https://github.com/huhu/rust-search-extension"} -] -juice_exclude_menu = [ - "Update" + { title = "Query.rs", link = "https://query.rs" }, + { title = "Github", link = "https://github.com/huhu/rust-search-extension" }, ] +juice_exclude_menu = ["Update", "Privacy"] repository_url = "https://github.com/huhu/rust-search-extension" meta_title = "Rust Search Extension: The ultimate search extension for Rust" -meta_description = "Search docs, crates, builtin attributes, official books, and error codes, etc in your address bar instantly." \ No newline at end of file +meta_description = "Search docs, crates, builtin attributes, official books, and error codes, etc in your address bar instantly."