<script src=“cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js”>> <script>

docsearch({
  // Your apiKey and indexName will be given to you once
  // we create your config
  apiKey: '{{ site.docsearch.search_only_api_key }}',
  indexName: '{{ site.docsearch.index_name }}',
  appId: '{{ site.docsearch.application_id }}', // Should be only included if you are running DocSearch on your own.
  // Replace inputSelector with a CSS selector
  // matching your search input
  inputSelector: '#search-input',
  // Set debug to true to inspect the dropdown
  debug: false,
});

</script>