code: def convert_updated(app):
      # app.info(bold('converting MPS design documents'))
      for design in glob.iglob("../design/*.txt"):
          name = os.path.splitext(os.path.basename(design))[0]
          if name == "index":
              continue
          converted = "source/design/%s.rst" % name
          if newer(design, converted):
              app.info("converting design %s" % name)
              convert_file(name, design, converted)
      for diagram in glob.iglob("../design/*.svg"):
          target = os.path.join(
              "source/design/", os.path.basename(diagram)
          )
          if newer(diagram, target):
              shutil.copyfile(diagram, target)
  
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 6 for calling a global function with example usage: convert_updated(app) without return types