Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yell0wsuit opened this issue Oct 15, 2024 · 1 comment
Open

Comments

@yell0wsuit
Copy link

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.

@weareoutman
Copy link
Member

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

See #448 and facebook/docusaurus#3825 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants