8000 What about implementing a default offline search input? · Issue #771 · nuxtlabs/docus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

What about implementing a default offline search input? #771

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

Closed
otabekoff opened this issue Jan 20, 2023 · 2 comments
Closed

What about implementing a default offline search input? #771

otabekoff opened this issue Jan 20, 2023 · 2 comments

Comments

@otabekoff
Copy link
otabekoff commented Jan 20, 2023

Does an offline search input feature exist? Or should it be implemented? I've seen that many of SSGs or Static documentation generators have this function. One example is Vuepress. Let's say I'm making an app that works offline using PWA or real app with Docus. What the user does to search? Uses page by page manual checking? In my opinion it is the most hardest way to do it.

You can look up the Vuepress repo for the logic. Both Docus and Vuepress uses Vue(or Nuxt).

EDIT: What about using DocSearch? I already know I can use Algolia. But it needs internet.

@marvin-j97
Copy link
marvin-j97 commented Feb 3, 2023

I'm guessing this is a duplicate of #682?

Nextra uses Flexsearch.

For Docusaurus, there are some plugins that use Lunr.

Edit: Vitepress now supports Offline Search using minisearch

Copy link
Contributor
Tahul commented May 17, 2023

This is related to #682

I will report both comments there on that issue, and close this one!

Feel free to continue the discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0