open-consul/website/scripts/index_search_content.js

4 lines
140 B
JavaScript

const { indexDocsContent } = require('@hashicorp/react-search/tools')
indexDocsContent({ frontmatterKeys: ['page_title', 'description'] })