mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Implemented get_objects() in rst domain so that search functions properly.
This commit is contained in:
parent
a097525e15
commit
2c89f1372a
@ -109,6 +109,9 @@ class ReSTDomain(Domain):
|
||||
return None
|
||||
return make_refnode(builder, fromdocname, objects[target][0], target,
|
||||
contnode, target)
|
||||
|
||||
|
||||
def get_objects(self):
|
||||
for name, (docname, type) in self.data['objects'].iteritems():
|
||||
yield name, type, docname, name, 1
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user