1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-31 15:37:26 -04:00
notes/docs/search.md
2017-04-08 18:51:14 -04:00

539 B

layout title nav_order
default Search 6

Search

Just the docs uses lunr.js to add a client-side search interface powered by a JSON index that Jekyll generates. All search results are shown in an auto-complete style interface (there is no search results page). By default, all generated html pages are indexed using the following data points:

  • Page title
  • Page content
  • Page URL

You can modify this by modifying the forloop in search-data.json and the javascript in just-the-docs.js on line 30.