ref: d1cf53f5f4d71b9461e0fe58193b5a8418b572e7
dir: /docs/themes/gohugoioTheme/assets/js/docsearch.js/
var docsearch = require('docsearch.js/dist/cdn/docsearch.js'); docsearch({ apiKey: '167e7998590aebda7f9fedcf86bc4a55', indexName: 'hugodocs', inputSelector: '#search-input', debug: true // Set debug to true if you want to inspect the dropdown });