code: def create_module_file(package, module, opts):
      """Build the text of the file and write the file."""
  
      text = format_heading(1, "%s Module" % module)
      text += format_inheritance_diagram(package, module)
      text += format_heading(2, ":mod:`%s` Module" % module)
      text += format_directive(module, package)
      write_file(makename(package, module), text, opts)
  
file_path: holoviews/doc/generate_modules.py
imports: import os
  import optparse
label_desc: Use image node_id 6 for calling a global function with example usage: create_module_file(package, module, opts) without return types