code: def index_sub(m):
      s = "\n.. index::\n"
      for term in index_term.finditer(m.group(1)):
          s += "   %s: %s\n" % (term.group(1), term.group(2))
      s += "\n"
      return s
  
file_path: evadb/docs/extensions/mps/designs.py
imports: from __future__ import unicode_literals
  import glob
  import os
  import os.path
  import re
  import shutil
label_desc: Use image node_id 3 for calling a global function with example usage: index_sub(m) and returns: s