-
Notifications
You must be signed in to change notification settings - Fork 555
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
Use PageFind for search #3008
Use PageFind for search #3008
Conversation
Signed-off-by: Chris Abraham <[email protected]>
Signed-off-by: Chris Abraham <[email protected]>
Signed-off-by: Chris Abraham <[email protected]>
✅ Deploy Preview for cncfglossary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Chris Abraham <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
One thing that I want to mention is that
- Currently, it seems that the Bengali, French, and Spanish versions of
search.md
file exist inmain
branch.
- The search feature for e.g., Korean is not working, since there is no Korean version of
search.md
file.
(e.g., https://deploy-preview-3008--cncfglossary.netlify.app/ko/search/?q=kubernetes show 404 Not Found.) - To make the search feature working for all languages, each L10n team should localize
search.md
file and apply it tomain
branch.
Signed-off-by: Chris Abraham <[email protected]>
Thanks @jihoon-seo , I've dropped in search.md files in each of the translation directories ready to be translated. At least now they won't get a 404 if they try and search. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Is it visible for Hindi as well?
…alink of the search Signed-off-by: Chris Abraham <[email protected]>
yes |
LGTM! Thanks @cjyabraham I tested that the functionality works well.
|
Let me merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!!
From cncf/cncf.io#836:
Google Custom Search doesn't seem to produce very good search results on small sites. It'd be better to remove our reliance on Google as well. Instead we can use PageFind, which is an open source local search for static sites.
Current issues with GCS on the subsites:
Please test this to see if the search results are useful, complete and that it handles multiple languages effectively.