Skip to content
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

Build a local search plugin #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Build a local search plugin #261

wants to merge 1 commit into from

Conversation

benkoska
Copy link

@benkoska benkoska commented Sep 9, 2019

Closes #21

Users have to add localSearch to their plugins to enable it.
It loops through all items in the Navbar and makes them searchable.


IssueHunt Summary

Referenced issues

This pull request has been submitted to:


IssueHunt has been backed by the following sponsors. Become a sponsor

@egoist
Copy link
Owner

egoist commented Sep 15, 2019

The local-search plugin should be built on top of this API (https://docute.org/plugin-api#apienablesearchoptions) and register a SearchBar component in NavBar 😄

And it should search from not only the sidebar but also the page contents.

@benkoska
Copy link
Author

benkoska commented Sep 15, 2019 via email

@mbryne
Copy link

mbryne commented Feb 7, 2020

What was the outcome of this?

@egoist
Copy link
Owner

egoist commented Mar 24, 2020

It would be better if it can retrieve all headers in pages and search them as well.

@egoist
Copy link
Owner

egoist commented Aug 3, 2020

Are you still working on this? As I said, I can merge it if it also searches markdown headings.

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

Successfully merging this pull request may close these issues.

Build a local search plugin
3 participants