code: def make_source_link(cls, project_url):
      if isinstance(project_url, dict):
          base_module = cls.__module__.split(".")[0]
          project_url = project_url[base_module]
      path = cls.__module__.replace(".", "/")
      line = inspect.getsourcelines(cls)[-1]
      return (
          f'<span style="float:right;">'
          f"[[source]]({project_url}/{path}.py#L{line})"
          f"</span>"
      )
  
file_path: autokeras/docs/keras_autodoc/utils.py
imports: import importlib
  import inspect
  import os
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: make_source_link(cls, project_url) and returns: str, project_url, str, path, str, line, str