def set_api_file(name, file):
    generator = DocUrlGenerator()
    generator.load_index(file)
    register_api(name, generator)
Set an URL generator populated with data from `file`.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/epydoc/docwriter/xlink.py/set_api_file