def METHOD_NAME(_):
    import glob
    from sphinx.ext import apidoc
    # ignore all files with "_test.py" suffix
    ignore_paths = glob.glob("../alf/**/*_test.py", recursive=True)
    # ignore files in the examples and bin directories
    ignore_paths.append("../alf/examples")
    argv = [
        "--force",  # Overwrite output files
        "--follow-links",  # Follow symbolic links
        #"--separate",  # Put each module file in its own page
        "--module-first",  # Put module documentation before submodule
        "--templatedir",
        "_templates",  # use our customized templates
        "-o",
        "api",  # Output path
        "../alf"  # include path
    ] + ignore_paths
    apidoc.main(argv)