Skip to content

Commit 6b3c355

Browse files
committed
Add help tips for crates page
1 parent 2c26766 commit 6b3c355

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/routes/crates/+page.svelte

+5
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@
137137
138138
<svelte:window on:keydown={handleKeydown} />
139139
<Toaster />
140+
<div class="text-center text-sm max-w-screen-md mx-auto px-4">
141+
You can add the crate you search most to local, this allows you to search that
142+
crate's docs via <code class="text-[#f9bb2d]">@crate-name keyword</code>, for example:
143+
<a href="https://query.rs/?q=@tokio%20spawn">@tokio spawn</a>
144+
</div>
140145
<div
141146
class="m-8 mb-16 flex flex-col items-center md:flex-row md:justify-center md:items-center"
142147
>

0 commit comments

Comments
 (0)