-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC add Algolia search bar for improved website search #28478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I guess you also have to add the
|
The issue here is that |
OK. So "infrastructure" is there. However, we did not yet succeed to build the index on Algolia so any request is "not found". We need to fix first the canonical link to let the crawler from Algolia index the website. |
I merged
|
Nop, only the index are generated and served by Algolia.
This is something that we should figure out and was issued in For the moment, I would like to see if I can manage to have the crawler and the search working ;) |
Yep the reason is explain in the message above. This is due to the fact that it triggers also the sphinx search. We would need to figure out how to solve this issue as well. |
I found that the search box does not show up on mobile devices. Looking into the
A possible solution is to not use Exampledocument.querySelectorAll(".class-name").forEach((container) => {
docsearch({
container: container,
appId: "APP_ID",
indexName: "INDEX_NAME",
apiKey: "SEARCH_API_KEY",
});
}); I'm not sure if there is a smarter approach here. |
This is a POC using
docsearch
from Algolia that you bring a better UX when it comes on using the search bar of the website.This PR build on the top of the work of @Charlie-XIAO.
See #6710 for historical context.