code: def find_sphinx_build_dir():
      
      build = glob.glob('**/*build/html', recursive=True)
      if not build:
          raise RuntimeError("Could not find Sphinx build directory automatically")
      build_folder = build[0]
  
      return build_folder
docs: Find build subfolder within sphinx docs directory.
  
      This is called by :func:`commit_docs` if keyword arg ``built_docs`` is not
      specified on the command line.