HTML search does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstackdocstheme |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The static search returns no results for all queries. This issue appears on many sites using the OpenStack docs theme and the starlingX theme. This is reproducible in the openstackdocstheme demo docs.
To see the issue, go to:
- https:/
- https:/
- https:/
Searching gives no results - just hangs with the rotating ellipses.
It appears to be a known issue with Sphinx moving from version 1.7 to 1.8, where classes/js needed by the static search are not loaded by default (relies on the custom theme to load the needed js). Other custom Sphinx themes are seeing similar issues: https:/
Looking at errors in the page when search is executed shows that indeed a js file is not found.
This issue is apparently fixed with Sphinx 1.8.3:
https:/
Near term, can add the missing js file to the openstackdocsthem (documentation_
This has been fixed with newer openstackdocstheme