code: def linkcode_resolve(domain, info):
      """Resolve a GitHub URL corresponding to Python object."""
      if domain != "py":
          return None
  
      try:
          mod = sys.modules[info["module"]]
      except ImportError:
          return None
  
      obj = mod
      try:
          for attr in info["fullname"].split("."):
              obj = getattr(obj, attr)
      except AttributeError:
          return None
      else:
          obj = inspect.unwrap(obj)
  
      try:
          filename = inspect.getsourcefile(obj)
      except TypeError:
          return None
  
      try:
          source, lineno = inspect.getsourcelines(obj)
      except OSError:
          return None
  
      # TODO(slebedev): support tags after we release an initial version.
      return (
          "https://github.com/deepmind/rlax/tree/master/rlax/%s#L%d#L%d"
          % (
              os.path.relpath(
                  filename, start=os.path.dirname(rlax.__file__)
              ),
              lineno,
              lineno + len(source) - 1,
          )
      )
  
file_path: rlax/docs/conf.py
imports: import inspect
  import os
  import sys
  import typing
  import rlax
  import sphinxcontrib.katex
label_desc: Use image node_id 3 for calling a global function with example usage: linkcode_resolve(domain, info) and returns: unknown, None, None, None, None, None