NativeScript / docs

The NativeScript Docs!
https://docs.nativescript.org/
13 stars 25 forks source link

Improve search results #132

Open vallemar opened 10 months ago

vallemar commented 10 months ago

I think there are 2 things to improve in the results, one is the order and the other is the name of the section in which they appear. For example, in the image I show I am searching for stackLayout and searches related to stackLayout appear before the component itself.

  1. Improvement in order: When performing the search I think the entry to the component should appear first
  2. Incoherent titles: When searching for stackLayout the entry that is related to the component appears in the Documentation section. It's all documentation, right? I think a more coherent title would be the documentation space itself: UI Components.
  3. Incorrect section: This is related to the previous point, 2 StackLayout entries appear within Documentation, one is the component and the other is the API. This is quite confusing, I think each entry should appear with the title of the documentation section, for the component UI Components and for the API API Reference.
image