Commits

Leontius Adhika Pradhana  committed 39dc27f

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

  • Participants
  • Parent commits ebdbfd4

Comments (0)

Files changed (1)

File sphinx/domains/rst.py

             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
 
-