mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix wrong class generated from option "any" reference
This commit is contained in:
parent
90d43569de
commit
fbb8827345
@ -643,7 +643,7 @@ class StandardDomain(Domain):
|
|||||||
ltarget if role == 'ref' else target,
|
ltarget if role == 'ref' else target,
|
||||||
node, contnode)
|
node, contnode)
|
||||||
if res:
|
if res:
|
||||||
results.append(('std:ref', res))
|
results.append(('std:' + role, res))
|
||||||
# all others
|
# all others
|
||||||
for objtype in self.object_types:
|
for objtype in self.object_types:
|
||||||
key = (objtype, target)
|
key = (objtype, target)
|
||||||
|
Loading…
Reference in New Issue
Block a user