def METHOD_NAME(env):
    env.outbasepath = "modm/docs"
    env.substitutions = {
        "xml": False,
        "qch": env["enable_qch"],
        "device": str(env[":target"].identifier).upper(),
        "with_tests": env.has_module("modm-test:test")
    }
    env.template("doxyfile.cfg.in")
    env.template("doxypress.json.in")
    env.copy("footer.html")
    env.copy("custom.css")
    env.copy("custom_dark_theme.css")
    env.copy(repopath("README.md"), "README.md")