code: def main(version, outputdir):
      os.makedirs(outputdir, exist_ok=True)
      build_html(DOCSDIR, outputdir, version)
      build_latex(DOCSDIR, outputdir, version)
  
file_path: sympy/release/build_docs.py
imports: import os
  from os.path import dirname, join, basename, normpath
  from os import chdir
  import shutil
  from helpers import run
label_desc: Use image node_id 1 for calling a global function with example usage: main(version, outputdir) without return types