1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-31 17:27:17 -04:00
notes/docs/search.md

16 lines
539 B
Markdown
Raw Normal View History

2017-04-08 18:51:14 -04:00
---
layout: default
title: Search
nav_order: 6
---
# Search
Just the docs uses [lunr.js](http://lunrjs.com) 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.