You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot get the search to appear, even when running npm run serve after a build. I get no debug logs, no output and no errors. Haven't been able to work out what's happening here.
In my case, it was the noIndex: true setting in docusaurus.config.js causing the search-index.json file to be empty.
I just had to specify the forceIgnoreNoIndex: true setting in the @easyops-cn/docusaurus-search-local theme block.
Hope that helps someone spend less time than I did — it's probably beneficial to add a log message suggesting that change.
Added the following section to the docusaurus config file:
I cannot get the search to appear, even when running
npm run serve
after a build. I get no debug logs, no output and no errors. Haven't been able to work out what's happening here.Any ideas?
The text was updated successfully, but these errors were encountered: