

def main():
    this_dir = os.path.dirname(__file__)
    build_dir = os.path.join(this_dir, 'build-doc')
    qisys.sh.mkdir(build_dir)
    source_dir = os.path.join(this_dir, 'source')
    generate_conf_py(source_dir, build_dir)
    call_gen_cmake_doc(this_dir)
    call_sphinx(source_dir, build_dir)

dataset/ETHPy150Open aldebaran/qibuild/doc/build-doc.py main/VarMisuse@64/95 `source_dir`->`this_dir`