DocSearch component supports custom link for results footer component #2806
kodster28
started this conversation in
Feature Requests
Replies: 1 comment
-
cc: @KianNH, for viz |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
starlight
are you using?0.29.3
What is your idea?
Expose an additional configuration options for the docsearch component that allows you to add in a custom link for the
props.href
piece of theresultsFooterComponent
.Maybe also for the
getMissingResultsUrl
... but that might be harder, at least evidenced by facebook/docusaurus#10737Why is this feature necessary?
When you have a large set of docs (like Cloudflare), sometimes the on-page search for Algolia isn't the most helpful.
You search for something and -- upon getting too many results back -- need to get offloaded to a full search engine results page to filter through all the various docs.
As long as that was surfaced where we could specify the path, would be totally fine if the limit to customization was
/userpath/?q=<...>
.Bit of color in facebook/docusaurus#10737 as well
Do you have examples of this feature in other projects?
Participation
Beta Was this translation helpful? Give feedback.
All reactions