code: def get_github_url(app, view, path):
      return "https://github.com/{project}/{view}/{branch}/{src_path}{path}".format(
          project=app.config.edit_on_github_project,
          view=view,
          branch=app.config.edit_on_github_branch,
          src_path=app.config.edit_on_github_src_path,
          path=path,
      )
  
imports: import os
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: get_github_url(app, view, path) and returns: str