Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Documentation] Add a nice search experience in the website #1104
Following #227 that is lost in threads, I am following up and waiting fro feedback.
As web developers, we've all used jQuery in our career and we'll be forever grateful for how it changed the web development landscape for the better. But with so many versions along the years, we understand it can sometimes be hard to navigate into the documentation.
I'm working at Algolia on the a project called DocSearch which goal is to enhance documentation websites with exhaustive, fast and relevant search. You might have seen DocSearch live already on websites like Bootstrap, ESLint or Babel.
We put together a demo of what DocSearch on the jQuery website could look like here. Feel free to try it and let us know what you think.
We'll take care of crawling your website and populating the Algolia index with the latest changes every 24h for you. You don't need to change anything to your deployment process. The only thing you need to add are the following CSS and JS snippets that will bind the dropdown to your searchbox.
We built DocSearch with the idea of giving back to the Open-Source community. This is why your crawling configuration is available on GitHub if you want to change it. We also have our own documentation to help you tweak the dropdown to your needs. You'll also have access to analytics on the most searched terms or those with no results. All of this is of course entirely free.
Would that be something you'd be interested in? If so, we'd be happy to work on integrating it through a PR.
Thanks for the proposal! I see it requires 43 KB of gzipped JS; we currently load 128 KB of JS in total. As it's not a critical part of the site I'd rather see the script loaded
Thanks for your feedback.
@timmywil our UI was initially designed for Desktop. It is mobile compliant but not really responsive, give it a try. You can easily tweak it thanks to CSS. The design/color can also be changed, see our guide on this.
We are designing the v3 of our search-UI and your concern @mgol is the biggest one. WIP.
The search script can definitely be loaded
Do you want to PR it?