code: def add_doc_method_param(md, param):
      param_name = param["param_name"]
      param_type = ""
      param_doc = ""
      param_units = ""
      if valid_dic_val(param, "type"):
          param_type = create_hyperlinks(param["type"])
      if valid_dic_val(param, "doc"):
          param_doc = create_hyperlinks(md.prettify_doc(param["doc"]))
      if valid_dic_val(param, "param_units"):
          param_units = small_html(" - " + param["param_units"])
      param_type = (
          ""
          if not param_type
          else parentheses(italic(param_type + param_units))
      )
      md.list_push(code(param_name))
      if param_type:
          md.text(" " + param_type)
      if param_doc:
          md.textn(" - " + param_doc)
      else:
          md.new_line()
      md.list_pop()
  
imports: import os
  import yaml
  import re
  import doc_gen_snipets
label_desc: Use image node_id 23 for calling a global function with example usage: add_doc_method_param(md, param) without return types