def ghuser_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
 app = inliner.document.settings.env.app
 ref = ('https://www.github.com/' + text)
 node = nodes.reference(rawtext, text, refuri=ref, **options)
 return ([node], [])

def ghuser_role ( name , rawtext , text , lineno , inliner , options = { } , content = [ ] ) : app = inliner . document . settings . env . app ref = ( 'https://www.github.com/' + text ) node = nodes . reference ( rawtext , text , refuri = ref , ** options ) return ( [ node ] , [ ] )
link to a github user .