DocSearch ready for your documentation website
See original GitHub issue👋 team:
Congratulations, your search is now ready! You can try a showcase here:
I’ve successfully configured the underlying crawler and it will now run every 24h.
You’re now a few steps away from having it working on your website:
- Copy the following CSS/JS snippets and add them to your page
<!-- at the end of the HEAD -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<!-- at the end of the BODY -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: 'ae94c9e3ee00ea8edddd484adafc37cd',
indexName: 'draft-js',
inputSelector: '### REPLACE ME ####',
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
- Add a search input in your page if you don’t have any yet. Then update the inputSelector value in JS snippet to a CSS selector that targets your search input field.
- Optionally customize the look and feel by following the DocSearch documentation
- You can also check your configuration in our GitHub repo.
The integration within Docusaurus is even faster. We do provide analytics on the search. Feel free to ping if you want me to grant you access.
Please open a pull request if want to leverage your configuration!
Feel free to get back to us if you have any issues or questions regarding the integration.
We’d also be happy to get your feedback and thoughts about DocSearch - so we can continue to improve it.
Have a nice day 😃
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:13 (11 by maintainers)
Top Results From Across the Web
DocSearch: Search made for documentation | DocSearch by ...
Already trusted by your favorite docs. Free: 100%. Searches per month: +100M. DocSearch Live: +4000. Discover DocSearch on the Bootstrap documentation.
Read more >Who can apply? | DocSearch by Algolia
Your website must be a technical documentation of an open source project or a technical blog. We do not index commercial content. Your...
Read more >Run your own | DocSearch by Algolia
Run your own. If you want to update your results with more control, or if you are not compliant with our checklist, or...
Read more >FAQ | DocSearch by Algolia
The free DocSearch we provide will crawl open-source documentation project pages or technical blog. To use it on other parts of your website...
Read more >How does it work? | DocSearch by Algolia
Getting up and ready with DocSearch is a straightforward process that requires three steps: you apply, we configure the crawler and the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have no permissions to close this issue but we can close this now. We have search on draftjs.org now! 🎉
Hi all.
Indeed @JoelMarcey, this key is the one to integrate within your website:
I have updated your configuration in order to acknowledge and integrate the changes from your website. Effects are live and deployed.
Let us know if you need anything else. Thank you @yangshun