docusaurus-search-local icon indicating copy to clipboard operation
docusaurus-search-local copied to clipboard

Embed `search-index.json` into a js file for Docusaurus Hash Router

Open yell0wsuit opened this issue 1 year ago • 1 comments

Since JSON is not allowed to be loaded through the file:// protocol, we need to update this so that when using the Hash Router option, the search-index.json is embedded into a JS file to allow local search.

yell0wsuit avatar Oct 15 '24 02:10 yell0wsuit

Does even the search-index.json look correct when using the hash router?

See #448 and https://github.com/facebook/docusaurus/issues/3825#issuecomment-2219789003

weareoutman avatar Oct 15 '24 03:10 weareoutman