Skip to content

Commit

Permalink
Fix indexing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
djungelorm committed Oct 3, 2017
1 parent 00052da commit 6a1b7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redjack/sphinx/lua.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ def run(self):
# used in the modindex currently
ret.append(targetnode)
indextext = _('%s (module)') % modname
inode = addnodes.index(entries=[('single', indextext,
'module-' + modname, '')])
inode = addnodes.index(entries=[
_create_indexnode(indextext, 'module-' + modname)])
ret.append(inode)
return ret

Expand Down

0 comments on commit 6a1b7a9

Please sign in to comment.