def register_api(name, generator=None):
    if generator is None:
        generator = VoidUrlGenerator()

    api_register[name] = generator
Register the API `name` into the `api_register`.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/epydoc/docwriter/xlink.py/register_api