Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
djungelorm committed Oct 3, 2017
2 parents ce5d767 + 6a1b7a9 commit 68157db
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/redjack/sphinx/lua.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
import re

from docutils import nodes
from docutils.parsers.rst import directives
from docutils.parsers.rst import directives, Directive

from sphinx import addnodes, version_info
from sphinx.roles import XRefRole
from sphinx.locale import l_, _
from sphinx.domains import Domain, ObjType, Index
from sphinx.directives import ObjectDescription
from sphinx.util.nodes import make_refnode
from sphinx.util.compat import Directive
from sphinx.util.docfields import Field, GroupedField, TypedField


Expand Down Expand Up @@ -437,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 68157db

Please sign in to comment.