docs: def create_analyses(name, kernel=None):
      """Create an analysis with given name and suffix.
  
      If it does not exist already, it creates the top level analyses folder
      and it's __init__.py and index.yaml file.
      """
  
      if not os.path.exists(os.path.join(os.getcwd(), 'analyses')):
          os.system("mkdir analyses")
  
      # __init__.py
      init_path = os.path.join(os.getcwd(), 'analyses', '__init__.py')
      if not os.path.exists(init_path):
          with open(init_path, 'w') as f:
              pass
  
      # index.yaml
      index_path = os.path.join(os.getcwd(), 'analyses', 'index.yaml')
      if not os.path.exists(index_path):
          with open(index_path, 'w') as f:
              f.write('title: Analyses\n')
              f.write('description: A short description.\n')
              f.write('version: 0.1.0\n')
              f.write('\n')
              f.write('analyses:\n')
  
      if kernel is None:
          with open(index_path, 'a') as f:
              f.write('  # automatically inserted by scaffold-databench\n')
              f.write('  - name: {}\n'.format(name))
              f.write('    title: {}\n'.format(name.title()))
              f.write('    description: A new analysis.\n')
              f.write('    watch:\n')
              f.write('      - {}/*.js\n'.format(name))
              f.write('      - {}/*.html\n'.format(name))