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 out search function #19

Closed
jueyang opened this issue Jan 2, 2013 · 2 comments
Closed

Build out search function #19

jueyang opened this issue Jan 2, 2013 · 2 comments
Assignees

Comments

@jueyang
Copy link
Collaborator

jueyang commented Jan 2, 2013

We are thinking of auto complete with the linkable subject titles.

@ghost ghost assigned jueyang Jan 2, 2013
@jueyang jueyang mentioned this issue Jan 2, 2013
jueyang added a commit that referenced this issue Jan 7, 2013
@jueyang
Copy link
Collaborator Author

jueyang commented Feb 1, 2013

Currently the search function is using jquery autocomplete. The search is based on the chapter name since it's the easiest to implement.

There's one .json file associated with each language. I've made the en.json. Will get to other languages once more content migration happens.

I passed in a nosearch parameter so that posts such as 404, guide covers, etc. will not be included in the json. For example:

layout: default
title: 404 - page not found
permalink: /en/404.html
lang: en
nosearch: true 

It'd be great if the search can be operated based on all the h2, h3 content (thus the attempt to use node) However this is not a priority now.

@jueyang
Copy link
Collaborator Author

jueyang commented Aug 12, 2013

closing. Search on the site is running with jquery autocomplete for chapter names. ref #123

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

1 participant