Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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 Mikhail Gusarov, 16 years ago

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

comment:2 by Ramiro Morales, 16 years ago

Resolution: invalid
Status: newclosed

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.

comment:3 by (none), 15 years ago

milestone: post-1.0

Milestone post-1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top