Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8866 closed (invalid)

Built-in Javascript search results' links is missing FILE_SUFFIX

Reported by: ronny 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: UI/UX:


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 Changed 7 years ago by dottedmag

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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:

comment:2 Changed 7 years ago by ramiro

  • Resolution set to invalid
  • Status changed from new to 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.

comment:3 Changed 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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