cypress-documentation icon indicating copy to clipboard operation
cypress-documentation copied to clipboard

Searching 'API' as a keyword does not return meaningful results

Open p2635 opened this issue 1 year ago • 1 comments

Description

When I searched 'API', I got seemingly blank results when I expected to go to help docs on how to do API requests

URL of Issue(s)

https://docs.cypress.io/

Steps to replicate

  1. Go to https://docs.cypress.io/
  2. Click Search
  3. Type 'API'
  4. Look how it appears 😄
image

Browser

Irrelevant, but Firefly version 121 and Chrome Version 120.0.6099.234

Device

  • [X] PC
  • [ ] Mac
  • [ ] iPhone
  • [ ] iPad
  • [ ] Android Phone
  • [ ] Android Tablet

Additional Information

If I then click on 'See 2835 results' then I see this:

image

Perhaps my keyword is too vague, but I'm sure people who are beginners like me might have the same issue. Not a big deal if you know what you're looking for.

I'm gonna guess there is no easy fix for this, other than maybe somehow bump up https://docs.cypress.io/guides/guides/network-requests if someone searches 'API'.

p2635 avatar Jan 25 '24 16:01 p2635

That is weird. It seems to do the same thing for guides and makes me think it's having trouble when you type in a word that's at the base path of the URL.

Screenshot 2024-01-25 at 12 17 37 PM

jennifer-shehane avatar Jan 25 '24 17:01 jennifer-shehane