code: def linkcode_resolve(domain, info):
      """Return URL to source code corresponding.
  
      Parameters
      ----------
      domain : str
      info : dict
  
      Returns
      -------
      url : str
      """
  
      def find_source():
          # try to find the file and line number, based on code from numpy:
          # https://github.com/numpy/numpy/blob/main/doc/source/conf.py#L286
          obj = sys.modules[info["module"]]
          for part in info["fullname"].split("."):
              obj = getattr(obj, part)
          import inspect
          import os
  
          fn = inspect.getsourcefile(obj)
          fn = os.path.relpath(
              fn, start=os.path.dirname(sktime.__file__)
          )
          source, lineno = inspect.getsourcelines(obj)
          return fn, lineno, lineno + len(source) - 1
  
      if domain != "py" or not info["module"]:
          return None
      try:
          filename = "sktime/%s#L%d-L%d" % find_source()
      except Exception:
          filename = info["module"].replace(".", "/") + ".py"
      return "https://github.com/sktime/sktime/blob/{}/{}".format(
          CURRENT_VERSION,
          filename,
      )
  
file_path: sktime/docs/source/conf.py
imports: import datetime
  import os
  import sys
  from importlib import import_module
  import sktime
label_desc: Use image node_id 1 for calling a global function with example usage: linkcode_resolve(domain, info) and returns: str, fn,  lineno,  unknown, None