  
  for (dirpath, dirnames, filenames) in os.walk(docs_dir):
      for filename in filenames:
          path = os.path.join(dirpath, filename)
  
          if filename.endswith('.png'):
              output_path = os.path.join(build_dir, filename)
 
</s> remove         if not filename.endswith('.md'):
 </s> add         path = os.path.join(dirpath, filename)

        if filename.endswith('.png'):
            output_path = os.path.join(build_dir, filename)
            shutil.copy(path, output_path)
            continue
        elif not filename.endswith('.md'): </s> remove         text = open(os.path.join(dirpath, filename), 'r').read().decode('utf-8')
 </s> add         text = open(path, 'r').read().decode('utf-8') </s> remove         relative_dir = dirpath.replace(docs_dir, '').lstrip(os.path.sep)
        build_dir = os.path.join(html_dir, relative_dir)
        build_file = os.path.join(build_dir, filename[:-3] + '.html')

        if not os.path.exists(build_dir):
            os.makedirs(build_dir)
 </s> add  </s> remove         open(build_file, 'w').write(output.encode('utf-8'))
 </s> add         open(output_path, 'w').write(output.encode('utf-8'))
    relative_dir = dirpath.replace(docs_dir, '').lstrip(os.path.sep)
    build_dir = os.path.join(html_dir, relative_dir)
    if not os.path.exists(build_dir):
        os.makedirs(build_dir)

  
  for (dirpath, dirnames, filenames) in os.walk(docs_dir):
    relative_dir = dirpath.replace(docs_dir, '').lstrip(os.path.sep)
    build_dir = os.path.join(html_dir, relative_dir)
    if not os.path.exists(build_dir):
        os.makedirs(build_dir)

      for filename in filenames:
          path = os.path.join(dirpath, filename)
  
          if filename.endswith('.png'):
              output_path = os.path.join(build_dir, filename)
keep add keep keep keep keep keep
 Flesh out quickstart guide and make some style tweaks 
mkdocs.py