sdk-typescript icon indicating copy to clipboard operation
sdk-typescript copied to clipboard

[Docs] Rank functions higher in search

Open lorensr opened this issue 3 years ago • 1 comments

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

When searching continueAsNew, one of the last results is:

https://typescript.temporal.io/api/namespaces/workflow/#continueasnew

Describe the solution you'd like

It would be nice if it were first. It looks like the two ways to rank things higher are recordProps.lvl*:

image

https://docsearch.algolia.com/docs/templates#docusaurus-v2-template

or pageRank, which is by index / pathsToMatch:

https://docsearch.algolia.com/docs/record-extractor#boost-search-results-with-pagerank

with which we could have a separate rank for /api/namespaces/*, or put functions to their own dir, like /api/functions/workflow.

lorensr avatar Jul 01 '22 20:07 lorensr

Also methods. Or move to the bottom of results everything I don't care about. Like in this list, most of it is not what I'm searching for:

https://typescript.temporal.io/search?q=heartbeat

lorensr avatar Jan 12 '24 22:01 lorensr