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

Option to exclude Tutorials from search results on svelte.dev #661

Open
kwangure opened this issue Oct 27, 2024 · 1 comment
Open

Option to exclude Tutorials from search results on svelte.dev #661

kwangure opened this issue Oct 27, 2024 · 1 comment

Comments

@kwangure
Copy link

Describe the problem

I'm frustrated when I click on a search result on svelte.dev and find myself looking at a tutorial. I almost never want that, even though it happens often. I just want regular docs please Mr. Search Box.

Describe the proposed solution

A checkbox or some similar affordance that I can check and never receive tutorials in the search box results ever again! 🙈

Importance

would make my life easier

@Conduitry Conduitry transferred this issue from sveltejs/svelte Oct 27, 2024
@PixelSoftwareStudios
Copy link

Even though you can just hit the dropdown arrow at the side to hide them, I agree with this.
My proposal is adding a docs: prefix to the search. No checkbox, no keybind. You just type your query as normal and it will hide tutorials. I don't know if adding tutorials: would be as useful, but I can add that if one would like.

I have implemented this in my PR #666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants