getMissingResultsUrl
not supported by algolia options in docusaurus config
#10737
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Hello there!
I'm trying to add a message at the bottom of Algolia search results that prompts the user to open a GitHub issue if no results are found. The Docusaurus documentation pointed me to the Algolia DocSearch documentation which references a
getMissingResultsUrl
option. That option isn't available on the algolia config type but I tried anyway as I thought it might still work.Unfortunately, it doesn't. So I'm guessing the search component used inside Docusaurus doesn't take this option into account.
Reproducible demo
https://stackblitz.com/edit/github-kv4zyn?file=docusaurus.config.ts
Steps to reproduce
algolia.appId
andalgolia.apiKey
with valid valuesthisissomethingthatdoesntexist
)Expected behavior
The "missing results" blurb should be visible and editable.
Actual behavior
There is no "missing results" sentence, nor does one appear if the
getMissingResultsUrl
option is set.Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: