code: def build_single(scheme_file, templates, base_output_dir):
      
      scheme = get_yaml_dict(scheme_file)
      scheme_slug = slugify(scheme_file)
      format_scheme(scheme, scheme_slug)
  
      scheme_name = scheme['scheme-name']
      print('Building colorschemes for scheme "{}"…'.format(scheme_name))
      for temp_group in templates:
  
          for _, sub in temp_group.templates.items():
              output_dir = os.path.join(base_output_dir,
                                        temp_group.name,
                                        sub['output'])
              try:
                  os.makedirs(output_dir)
              except FileExistsError:
                  pass
  
              if sub['extension'] is not None:
                  filename = 'base16-{}{}'.format(scheme_slug, sub['extension'])
              else:
                  filename = 'base16-{}'.format(scheme_slug)
  
              build_path = os.path.join(output_dir, filename)
              with open(build_path, 'w') as file_:
                  file_content = pystache.render(sub['parsed'], scheme)
                  file_.write(file_content)
  
      print('Built colorschemes for scheme "{}".'.format(scheme_name))
docs: Build colorscheme for a single $scheme_file using all TemplateGroup
      instances in $templates.