docs: def _update_submodules(repo_dir):
      """update submodules in a repo"""
      subprocess.check_call("git submodule init", cwd=repo_dir, shell=True)
      subprocess.check_call(
          "git submodule update --recursive", cwd=repo_dir, shell=True)