

def url_role(name, rawtext, text, lineno, inliner, options={
    
}, content=[]):
    uri = text
    display = 'url'
    node = nodes.literal('', '')
    node += nodes.reference(rawtext, name, refuri=uri, **options)
    return ([node], [])

dataset/ETHPy150Open networkx/networkx/doc/sphinxext/customroles.py url_role/original