def METHOD_NAME(entrypoint: str, maintenance: str = "Official"):
    per_module = {}
    packagesconfig = configparser.ConfigParser()
    packagesconfig.read("scripts/packagesconfig.ini")
    # For some reason duplicates are showing up
    done = set()
    for i in pkg_resources.iter_entry_points(entrypoint):
        # Skip duplicates
        if i.name in done:
            continue
        cls = i.load()
        plugin_type = "_".join(cls.ENTRY_POINT_NAME)
        if plugin_type == "opimp":
            plugin_type = "operation"
        module_name = i.module_name.split(".")[0]
        per_module.setdefault(module_name, [None, "", []])
        per_module[module_name][0] = importlib.import_module(module_name)
        per_module[module_name][1] = plugin_type
        doc = cls.__doc__
        if doc is None:
            doc = "No description"
        else:
            doc = inspect.cleandoc(doc)
        formatting = {
            "tag": f".. _plugin_{plugin_type}_{module_name}_{i.name.replace('.', '_')}:",
            "name": i.name,
            "underline": "~" * len(i.name),
            "maintenance": maintenance,
            "help": doc,
        }
        formatted = TEMPLATE.format(**formatting)
        if getattr(cls, "imp", False):
            cls = cls.imp
        if getattr(cls, "op", False):
            formatted += "\n\n" + format_op(cls.op)
        if getattr(cls, "args", False):
            defaults = cls.args({})
            if defaults:
                config = traverse_get_config(defaults, *cls.add_orig_label())
                formatted += "\n\n" + build_args(config)
            per_module[module_name][2].append(formatted)
        done.add(i.name)
    return "\n\n".join(
        [
            MODULE_TEMPLATE.format(
                **{
                    "tag": f".. _plugin_{plugin_type}_{name}:",
                    "name": name,
                    "install": name.replace("_", "-"),
                    "underline": "+" * len(name),
                }
            )
            + (
                (
                    inspect.getdoc(module) + "\n\n"
                    if inspect.getdoc(module)
                    else ""
                )
                + (
                    "\n\n".join(docs)
                    if name not in packagesconfig["NO ARGS"]
                    else ""
                )
            )
            for name, (module, plugin_type, docs) in per_module.items()
            if docs
        ]
    )