temporalio / sdk-typescript

Temporal TypeScript SDK
Other
518 stars 101 forks source link

[Docs] Rank functions higher in search #739

Open lorensr opened 2 years ago

lorensr commented 2 years ago

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 commented 8 months ago

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