Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carrotsearch/gatsby-plugin-content-search
A Gatsby plugin that implements a Sublime-like client-side search based on the fuzzysort library.
https://github.com/carrotsearch/gatsby-plugin-content-search
Last synced: 29 days ago
JSON representation
A Gatsby plugin that implements a Sublime-like client-side search based on the fuzzysort library.
- Host: GitHub
- URL: https://github.com/carrotsearch/gatsby-plugin-content-search
- Owner: carrotsearch
- Created: 2019-07-26T13:13:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T09:59:06.000Z (over 3 years ago)
- Last Synced: 2024-03-26T01:08:03.074Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This repository is deprecated. The most up-to-date code is now at [@carrotsearch/gatsby-theme-apidocs](https://github.com/carrotsearch/gatsby-theme-apidocs/tree/master/plugins/gatsby-plugin-content-search).
---
A Gatsby plugin that implements the client-side search backend of [APIDocs](https://github.com/carrotsearch/gatsby-starter-apidocs).
The plugin takes all the text snippets extracted by the [HTML transformer](https://github.com/carrotsearch/gatsby-transformer-html) plugin and builds a [fuzzysort](https://github.com/farzher/fuzzysort) index for them. Based on that index, a client-side Sublime-like searches can be applied to all the content in the APIDocs documentation site.
See [`gatsby-starter-apidocs`](https://github.com/carrotsearch/gatsby-starter-apidocs) for usage example
and documentation.