def build_html():
    ensure_dir(DOCS_BUILD_PATH)
    target_readme_path = md2html(README_PATH)

    ensure_dir(html_target_path(DOCS_PATH))
    md_paths = glob.glob(os.path.join(DOCS_PATH, "*.md"))
    for md_path in md_paths:
        md2html(md_path)

    readme_opath = Path(target_readme_path)
    uri = readme_opath.resolve().as_uri()
    log.info("opening web browser to: %s\n-->%s" % (target_readme_path, uri))
    webbrowser.open(uri)
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv_setup/utils.py/build_html/original