def bokeh_tree(name, rawtext, text, lineno, inliner, options=None, content=None):
 app = inliner.document.settings.env.app
 tag = app.env.config['version']
 if ('-' in tag):
  tag = 'master'
 url = ('%s/tree/%s/%s' % (BOKEH_GH, tag, text))
 _try_url(app, url, 'tree')
 options = (options or {})
 set_classes(options)
 node = nodes.reference(rawtext, text, refuri=url, **options)
 return ([node], [])

def bokeh_tree ( name , rawtext , text , lineno , inliner , options = None , content = None ) : app = inliner . document . settings . env . app tag = app . env . config [ 'version' ] if ( '-' in tag ) : tag = 'master' url = ( '%s/tree/%s/%s' % ( BOKEH_GH , tag , text ) ) _try_url ( app , url , 'tree' ) options = ( options or { } ) set_classes ( options ) node = nodes . reference ( rawtext , text , refuri = url , ** options ) return ( [ node ] , [ ] )
link to a url in the bokeh github tree .