We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sphinx.add_crossref_type
1 parent b60e96f commit ae8cbecCopy full SHA for ae8cbec
CHANGES
@@ -14,6 +14,7 @@ Bugs fixed
14
* Remove ``image/gif`` from supported_image_types of LaTeX writer (#2272)
15
* Fix code-block literals raises highlighting warnings by default
16
* Fix ValueError is raised if LANGUAGE is empty string
17
+* Fix unpack warning is shown when the directives generated from ``Sphinx.add_crossref_type`` is used
18
19
Documentation
20
-------------
sphinx/domains/std.py
@@ -121,7 +121,7 @@ def run(self):
121
indextype = indexentry[:colon].strip()
122
indexentry = indexentry[colon+1:].strip()
123
inode = addnodes.index(entries=[(indextype, indexentry,
124
- targetname, '')])
+ targetname, '', None)])
125
ret.insert(0, inode)
126
name = self.name
127
if ':' in self.name:
0 commit comments