Compress image size

This commit is contained in:
Folyd 2020-02-26 16:59:07 +08:00
parent 595f6a5450
commit e3011eb459
17 changed files with 17 additions and 143 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 KiB

After

Width:  |  Height:  |  Size: 380 KiB

View file

@ -63,6 +63,9 @@ prefix one more **!** to open [docs.rs](https://docs.rs) page instead [crates.io
# Search Rust official book chapters
You can search all of Rust book chapters on your address bar too!
The result will show the title of the related page, parent chapter, and grandparent chapter.
![IMG](/search-book.png)
# Offline mode, search local Rust docs
@ -73,7 +76,11 @@ However, please check the [Caveats](/how-it-works/#caveats) if you are a Firefox
![GIF](/offline-mode.gif)
# Display Features flag on docs.rs
# Display Feature Flags in docs.rs page
Feature flags are such a kind of crucial property we would involve in when we gain insight into a crate.
However, docs.rs don't display the crate's feature flags, which is inconvenient.
So Rust Search Extension fills the gap.
![IMG](/feature-flags.png)
@ -88,4 +95,8 @@ Those commands including but not limited to:
- **:book** - Show all Rust official books.
- **:stable** - Show stable Rust scheduled release date in the next year.
![IMG](/command-system.gif)
![IMG](/command-system.gif)
# Page down/up easily
You can press `space` after the keyword, then increase or decrease the number of **-** (hyphen) to page down or page up.

View file

@ -6,7 +6,7 @@ weight = 2
# v0.8 - 2020-02-25
- Bump crates index number from top 10K to top 20K
- Display crate's **Features flags** in [docs.rs](https://docs.rs) page
- Support display crate's **Feature flags** in [docs.rs](https://docs.rs) page
- Support prefix **!!** (double exclamation mark) to search crates with [docs.rs](https://docs.rs) url
- Support prefix **%** (percent mark) to search Rust official book chapters
- Add nice features by introducing the command system
@ -14,7 +14,7 @@ weight = 2
- Add `:book` command to show all Rust official books
- Add `:stable` command to show stable Rust scheduled release date in the next year
- Add `:yet` command to show all **Are We Yet** websites
- Support page down the result with page-tuner **-** (hyphen or minus)
- Support page down the result with page-tuner **-** (hyphen)
# v0.7 - 2020-02-04

View file

@ -1 +1 @@
<svg width="5184" height="5185" viewBox="0 0 5184 5185" xmlns="http://www.w3.org/2000/svg"><title>Google_Chrome_1_</title><g fill="none" fill-rule="evenodd"><path d="M625.9 903C1830.8-499.3 4065-222.5 4900.3 1415.6c-587.9.2-1508.6-.2-2007.3 0-361.7.1-595.1-8.1-848 125-297.3 156.5-521.6 446.6-599.9 787.3L625.9 903z" fill="#EA4335"/><path d="M1729.7 2591.9c0 475.3 386.5 862 861.5 862s861.4-386.7 861.4-862-386.5-862-861.4-862c-475.1.1-861.5 386.8-861.5 862z" fill="#4285F4"/><path d="M2925.5 3720.1c-483.5 143.7-1049.4-15.7-1359.3-550.7C1329.6 2761 704.5 1672 420.4 1176.9c-995.1 1525.2-137.5 3603.6 1669.1 3958.3l836-1415.1z" fill="#34A853"/><path d="M3391.3 1730c402.7 374.5 490.5 981.1 217.6 1451.4-205.5 354.3-861.5 1461.4-1179.4 1997.5C4290.9 5293.6 5647.8 3469.4 5034.9 1730H3391.3z" fill="#FBBC05"/></g></svg>
<svg height="5185" viewBox="0 0 5184 5185" width="5184" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="m625.9 903c1204.9-1402.3 3439.1-1125.5 4274.4 512.6-587.9.2-1508.6-.2-2007.3 0-361.7.1-595.1-8.1-848 125-297.3 156.5-521.6 446.6-599.9 787.3z" fill="#ea4335"/><path d="m1729.7 2591.9c0 475.3 386.5 862 861.5 862s861.4-386.7 861.4-862-386.5-862-861.4-862c-475.1.1-861.5 386.8-861.5 862z" fill="#4285f4"/><path d="m2925.5 3720.1c-483.5 143.7-1049.4-15.7-1359.3-550.7-236.6-408.4-861.7-1497.4-1145.8-1992.5-995.1 1525.2-137.5 3603.6 1669.1 3958.3z" fill="#34a853"/><path d="m3391.3 1730c402.7 374.5 490.5 981.1 217.6 1451.4-205.5 354.3-861.5 1461.4-1179.4 1997.5 1861.4 114.7 3218.3-1709.5 2605.4-3448.9z" fill="#fbbc05"/></g></svg>

Before

Width:  |  Height:  |  Size: 817 B

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 KiB

After

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

After

Width:  |  Height:  |  Size: 266 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 KiB

After

Width:  |  Height:  |  Size: 463 KiB

BIN
docs/static/logo.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 KiB

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 KiB

After

Width:  |  Height:  |  Size: 430 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 KiB

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 690 KiB

After

Width:  |  Height:  |  Size: 583 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 632 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 702 KiB

After

Width:  |  Height:  |  Size: 565 KiB