Code

Opened 6 years ago

Closed 6 years ago

Last modified 5 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:

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.

Attachments (0)

Change History (3)

comment:1 Changed 6 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: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495559

comment:2 Changed 6 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 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.