mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 17:02:12 -05:00
Add a missing assignment.
This commit is contained in:
1 parent
3b64ec2a2e
commit
e081cf4d3b
1 file changed
+1
@@ -142,6 +142,7 @@ class TypedField(GroupedField):
|
||||
par += self.make_xref(self.rolename, domain, fieldarg, nodes.strong)
|
||||
if fieldarg in types:
|
||||
par += nodes.Text(' (')
|
||||
fieldtype = types[fieldarg]
|
||||
if len(fieldtype) == 1 and isinstance(fieldtype[0], nodes.Text):
|
||||
typename = u''.join(n.astext() for n in types[fieldarg])
|
||||
par += self.make_xref(self.typerolename, domain, typename)
|
||||
|
||||
Reference in new issue
Block a user