Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.