-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Simplifying DocSearch documentation #624
Conversation
Deploy preview for docusaurus-preview ready! Built with commit 3e0797c |
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.
Hi @pixelastic - thank you for cleaning up our search docs. One question - is it worth keeping the extra search sections part, just without the example that shows facetFilters
? Just say that you can configure even more broadly? Or you think removing all parts of that section is better?
Good call. From our experience most of the times the default config works just fine, but sometimes users need to add a few custom options in their config. For those cases I think it's better if the documentation clearly state where to add those options. I'll update the PR with those changes. |
I slightly rewrote the DocSearch documentation. The main three points are: - I explained a bit more how DocSearch works (trying to explain that it's an external service that requires the website to be online) - I removed mentions to the _search_ API key as in that case, it's always a _search_ (as opposed to _admin_) API key that is used - I removed the part about faceting on the version. I thought it was confusing as without a specific UI to display the faceting, this won't do much. To use it properly, one will need to dig more into layouts. I might submit a PR about that later, but as it was today I think it would just create confusing rather that adding value Hope that helps :)
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.
Thanks for the PR!
Motivation
Hello, Tim from Algolia here. I'm one of the maintainers of DocSearch, and by reading the DocSearch/Docusaurus documentation I thought it could be simplified by slightly rewording the current version.
Here are the main points:
Hope that helps :)
Have you read the Contributing Guidelines on pull requests?
I did :)