@adobe/parliament-site-search-index

Creates a node in GraphQL DB for the search Index

Usage no npm install needed!

<script type="module">
  import adobeParliamentSiteSearchIndex from 'https://cdn.skypack.dev/@adobe/parliament-site-search-index';
</script>

README

@adobe/parliament-site-search-index

A Gatsby plugin for creating an ElasticLunr search index of markdown and Open API specs.

Install

npm install --save @adobe/parliament-site-search-index

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [`@adobe/parliament-site-search-index`],
}

How to query

You can query file nodes like the following:

{
  ParliamentSearchIndex
}

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.