def METHOD_NAME(session: nox.Session) -> None:
    """Build and serve the documentation with live reloading on file changes."""
    args = ["--open-browser", "docs/source", "docs/_build", "-j", "auto", "--ignore", "*/apidocs/*", "--watch", "pysrc/kaskada"]
    install(session, groups=["typecheck", "docs"])
    build_dir = Path("docs", "_build")
    if build_dir.exists():
        shutil.rmtree(build_dir)
    session.run("sphinx-autobuild", *args)