original_docstring: 
      Register a hello world handler.
  
      Based on https://github.com/Carreau/jupyter-book/blob/master/extensions/server_ext.py
      
docstring: Register a hello world handler.
docstring_tokens: Register a hello world handler .
code: def load_jupyter_server_extension(nb_app):
      '''
      Register a hello world handler.
  
      Based on https://github.com/Carreau/jupyter-book/blob/master/extensions/server_ext.py
      '''
      web_app = nb_app.web_app
      host_pattern = '.*$'
      route_pattern = url_path_join(
          web_app.settings['base_url'], YASERVER_ENDPOINT_URI_PATH)
      print("route_pattern  :{}".format(route_pattern))
      nb_app.log.info(
          "yaserver core enabled!. Route pattern: {}".format(route_pattern))
      web_app.add_handlers(host_pattern, [(route_pattern, HelloWorldHandler)])
code_tokens: def load_jupyter_server_extension ( nb_app ) : web_app = nb_app . web_app host_pattern = '.*$' route_pattern = url_path_join ( web_app . settings [ 'base_url' ] , YASERVER_ENDPOINT_URI_PATH ) print ( "route_pattern  :{}" . format ( route_pattern ) ) nb_app . log . info ( "yaserver core enabled!. Route pattern: {}" . format ( route_pattern ) ) web_app . add_handlers ( host_pattern , [ ( route_pattern , HelloWorldHandler ) ] )
short_docstring: Register a hello world handler.
short_docstring_tokens: Register a hello world handler .
comment: '''
      Register a hello world handler.
  
      Based on https://github.com/Carreau/jupyter-book/blob/master/extensions/server_ext.py
      '''