mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix a bug that prevented references in the rst domain.
This commit is contained in:
parent
475c3ba93b
commit
3aa60e2833
@ -126,7 +126,7 @@ class ReSTDomain(Domain):
|
||||
|
||||
if not (typ, target) in objects:
|
||||
return None
|
||||
return make_refnode(builder, fromdocname, objects[typ, target][0],
|
||||
return make_refnode(builder, fromdocname, objects[typ, target],
|
||||
target, contnode, target)
|
||||
|
||||
def get_objects(self):
|
||||
|
Loading…
Reference in New Issue
Block a user