def METHOD_NAME(linkname, name=None):
    if name is None:
        name = linkname
    for c in ["_", ".", ":", "-"]:
        linkname = linkname.replace(c, "__")
    return "<a href=\"group__{}.html\"><code>{}</code></a>".format(linkname, name)