python-doc search does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The search interface to locally installed python-3.10-doc (and probably other versions) fails to work in Firefox.
To reproduce, attempt to search from this page (or the search bar on other pages):
file://
The reason for this is the jquery.js and underscore.js files are symlinks to files under /usr/share/
Replacing the symlinks with copies fixes the problem, in the short term at least.
This could presumably be fixed in the python packages by removing the parts of debian/rules that make these into symlinks in the first place.
Having a locally searchable copy of the documentation is useful when there is no network.