def auto_dev_build(debug=False):
    msg = ''
    try:
        step = 'clean'
        clean()
        step = 'html'
        html()
        step = 'upload dev'
        upload_dev()
        if not debug:
            sendmail(step)

        step = 'latex'
        latex()
        step = 'upload pdf'
        upload_dev_pdf()
        if not debug:
            sendmail(step)
    except (Exception, __HOLE__) as inst:
        msg = str(inst) + '\n'
        sendmail(step, '[ERROR] ' + msg)
dataset/ETHPy150Open pydata/pandas/doc/make.py/auto_dev_build