code: def extract_docs(sympy_doc_git, doc_html_zip):
      subdirname = splitext(basename(doc_html_zip))[0]
  
      with TemporaryDirectory() as tempdir:
          print()
          print("Extracting docs to " + tempdir)
          print()
          ZipFile(doc_html_zip).extractall(tempdir)
  
          print()
          print("Copying to sympy_doc/latest")
          print()
          srcpath = join(tempdir, subdirname)
          dstpath = join(sympy_doc_git, "latest")
          copytree(srcpath, dstpath)
  
file_path: sympy/release/update_docs.py
imports: import json
  import subprocess
  import sys
  from os.path import join, splitext, basename
  from contextlib import contextmanager
  from tempfile import TemporaryDirectory
  from zipfile import ZipFile
  from shutil import copytree
label_desc: Use image node_id 4 for calling a global function with example usage: extract_docs(sympy_doc_git, doc_html_zip) without return types