#8866 closed (invalid)
Built-in Javascript search results' links is missing FILE_SUFFIX
| Reported by: | Ronny Haryanto | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.0 |
| Severity: | Keywords: | search | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The docs generated by running 'make html' in the docs directory has a built-in javascript search facility (docs/_build/html/search.html). The search results' links/URLs are incorrect because they're missing the ".html" suffix in the file name.
If I edit search.html and set FILE_SUFFIX to '.html' in the top javascript section then the search results links work.
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
So, this is a Sphinx 0.4.2 bug.
Note Sphinx has now a 0.4.x branch (from with 0.4.3 will be tagged) whilst trunk is where things like I18N are being worked in. So, as dottedmag says, as a workaround you can downgrade to 0.4.1 or track 0.4.x.
This is bug in Sphinx, not in Django. Either upgrade your Sphinx to trunk version or downgrade it to 0.4.1
See the Debian bugreport: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495559