1. Konrad Anton
  2. sphinx-extensions

Commits

Georg Brandl  committed 3938f38

Fix #105: one shouldn't use the i18n function as a placeholder...

  • Participants
  • Parent commits 61e9e70
  • Branches default

Comments (0)

Files changed (1)

File sphinx/directives/desc.py

View file
         return name
 
     def add_target_and_index(self, name, sig, signode):
-        rolename, indextemplate, _ = additional_xref_types[self.desctype]
+        rolename, indextemplate = additional_xref_types[self.desctype][:2]
         targetname = '%s-%s' % (rolename, name)
         signode['ids'].append(targetname)
         self.state.document.note_explicit_target(signode)