moon icon indicating copy to clipboard operation
moon copied to clipboard

[docs] Deprioritize Type Docs in Search

Open shellscape opened this issue 2 years ago • 2 comments
trafficstars

Is your feature request related to a problem? Please describe.

Regarding the docs, the search is good, but I often get bit by landing on a page like this https://moonrepo.dev/api/types/interface/TaskOptionsConfig#cache which is shown in the search results higher up the list

Screenshot 2023-06-06 at 12 55 36 PM .

.

than what I'm actually after: https://moonrepo.dev/docs/config/project#cache

Screenshot 2023-06-06 at 12 55 54 PM

Describe the solution you'd like

I'd love if user-space results were prioritized

Describe alternatives you've considered

I have to remember to also type "moon.yml" after the option I'm seeking info for

Additional context

shellscape avatar Jun 06 '23 16:06 shellscape

I briefly looked into this and I don't see any setting in Docusaurus that allows me to control the rankings. I then looked in Algolia directly, and the config panel is quite overwhelming, but some of the features are locked unless I pay for it.

milesj avatar Jun 07 '23 20:06 milesj

Fwiw the last startup I was with worked with Algolia directly and got a giant hookup. Def worth reaching out especially if your VCs are in any way connected to them.

shellscape avatar Jun 07 '23 21:06 shellscape