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

Suggestion: Add a search bar/page? #16

Open
thecnoNSMB opened this issue Mar 29, 2019 · 3 comments
Open

Suggestion: Add a search bar/page? #16

thecnoNSMB opened this issue Mar 29, 2019 · 3 comments

Comments

@thecnoNSMB
Copy link

I'm not sure how feasible this would be, given the nature of how the pages are generated, but it would help with usability if I didn't have to manually check every page to see what a %W() is, for example.

@zverok
Copy link
Contributor

zverok commented Mar 30, 2019

Yes, that's a long-anticipated thing, but how to implement is a bit of question.

Technically, there are solutions for the static sites (they just render the search index into JSON file and load it onto search page, and process search with JS on a client-side), so it is not a big of a problem.

But conceptually, WHAT should be put in a search index, IS a problem. Because if it is "every word in a text", then probably google term site:rubyreferences.github.io/rubyref is good enough. So, the task is not to "index it to be searchable", but to create a proper index of terms, which is either a tedious manual work or some inventive automation I haven't decided on yet :)

@thecnoNSMB
Copy link
Author

Sorry about the inactivity, but you do have a very good point. I'll use the Google method for now and we'll see if someone has a good idea for this eventually.

@fiveNinePlusR
Copy link

But conceptually, WHAT should be put in a search index, IS a problem. Because if it is "every word in a text", then probably google term site:rubyreferences.github.io/rubyref

maybe add a search bar that does that on form submission?

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