mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 01:12:10 -05:00
Fix wrong class generated from option "any" reference
This commit is contained in:
1 parent
90d43569de
commit
fbb8827345
1 file changed
+1
-1
@@ -643,7 +643,7 @@ class StandardDomain(Domain):
|
||||
ltarget if role == 'ref' else target,
|
||||
node, contnode)
|
||||
if res:
|
||||
results.append(('std:ref', res))
|
||||
results.append(('std:' + role, res))
|
||||
# all others
|
||||
for objtype in self.object_types:
|
||||
key = (objtype, target)
|
||||
|
||||
Reference in new issue
Block a user