8000 Text search feature fails due to "blocked by CORS policy" preventing searchindex.js from loading. · Issue #8603 · sphinx-doc/sphinx · GitHub
[go: up one dir, main page]

Skip to content 8000
Text search feature fails due to "blocked by CORS policy" preventing searchindex.js from loading. #8603
@MPSystemsServices

Description

@MPSystemsServices

Using Python 3.9.1, 32-bit, and the current download of Sphinx. Documentation HTML output works pretty much normally, but the search feature crashes as indicated. Caused by any reference to functions in searchindex.js or searchtools.js failing. BUT... note that I had built documentation for these same modules a couple of years ago and everything worked just fine, so I copied the contents of that old _static directory with an old copy of your searchtools.js into the new _static directory and search now works. I don't have time to compare the old and new version of searchtools.js, but something clearly has changed and now triggers this error. BTW, the CORS error appears with EDGE, FireFox and Chrome.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0