code: def load_conf(srcdir):
      
      path = os.path.join(srcdir, 'conf.py')
      mylocals = {'__file__': path}
      with open(path) as fd:
          exec(fd.read(), mylocals)
      return mylocals
docs: Load ``conf.py`` from given ``srcdir``.
  
      :returns: Dictionary derived from the conf module.