code: def class_to_docs_link(cls):
      module_name = clean_module_name(cls.__module__)
      module_name = module_name[6:]
      link = (
          ROOT
          + module_name.replace(".", "/")
          + "#"
          + cls.__name__.lower()
      )
      return link
  
file_path: hyperopt/docs/autogen.py
imports: import re
  import inspect
  import os
  import shutil
label_desc: Use image node_id 4 for calling a global function with example usage: class_to_docs_link(cls) and returns: link