-
I am trying to implement a 3rd party search since the native mkdocs-material search is not suitable for my project. I haven't chosen which search to use but right now I am testing with AddSearch. It crawls the provided domain and returns a key that is used here: I'd hoped that it would be as simple as overriding the search using this script like so:
But doing this causes the search bar to disappear altogether. Am I doing something wrong? Or is what I want to do not possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The |
Beta Was this translation helpful? Give feedback.
The
worker
must point to a valid web worker. I'd suspect that you'd need to add the script as a separate search script, or somehow integrate querying their API into the web worker. Possibly not as easy as just including their script.