cypress-io / cypress-documentation

Cypress Documentation including Guides, API, Plugins, Examples, & FAQ.

Home Page:https://docs.cypress.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

p2635 opened this issue · 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

  • 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'.

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