Implemented get_objects() in rst domain so that search functions properly.

This commit is contained in:
Leontius Adhika Pradhana 2010-04-16 04:15:04 +08:00
parent a097525e15
commit 2c89f1372a

View File

@ -110,5 +110,8 @@ class ReSTDomain(Domain):
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