-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
A way to do search #43
Comments
Actually, I considered doing search. I like docute implementation, but i dont think it is easy to use. I have considered using GitHub search API, that we can easy doing seach, such as. But it has rate limit.
Lunrjs looks good, but seems to only search the current page? I have no other ideas. |
For large website, I think it's worth putting effort to use docsearch from algolia, since it's really powerful. For small-to-medium website, maybe a feature like gitbook's search? but it requires to build json For small website, we may not need to search (๑˙ー˙๑) And, what about private docs 😂 |
How about hexo-theme-next's localSearch, use hexo-generator-search, it will generate a json file(db.json) to save searchinfo. but this plugin base on hexo |
@luminarious @egoist @yangyang0507 <script src="//unpkg.com/docsify/lib/docsify.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script> demo: https://docsify.js.org/ |
I have added "<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>" |
same here, no results at all :( |
Within |
The search plugin is searching nested with nested sidebar, so must set:
And in default _sidebar.md, we need add the nested file:
|
same |
Following the configuration of https://docsify.js.org/, my project search function works fine.
|
It builds a search index in your localstorage, which might take a while to create. |
Hi all.
I would be happy if docsify has minisearch support. what is minisearch?Tiny and powerful JavaScript full-text search engine for browser and Node. |
Needs a way to do search in sidebar, like Docute. One options is something like http://lunrjs.com
The text was updated successfully, but these errors were encountered: