parameters: (keywords, documentation, num, helpdir, fname, sli_command_list)
docstring: Collect data.
  
      Prepare the data for writing the help.
docstring_summary: Collect data.
docstring_tokens: Collect data .
function: def coll_data(keywords, documentation, num, helpdir, fname, sli_command_list):
      """
      Collect data.
  
      Prepare the data for writing the help.
      """
      see = ""
      relfile = fname.strip()
      doc_dic = {"Id": str(num), "File": relfile}
      iname = None
      for k in keywords:
          if k in documentation:
              if k == "Name:":
                  iname = documentation[k].split()[0].rstrip("-")
                  ifullname = documentation[k].strip(" \n").strip()
                  ifullname = ifullname.lstrip(iname).strip()
                  ifullname = ifullname.lstrip("- ")
                  if iname:
                      iname = iname.strip('~~')
                      doc_dic.update({"Name": iname})
                  if ifullname:
                      doc_dic.update({"FullName": ifullname})
              elif k == "SeeAlso:" or k == "See also:" or k == "See Also:":
                  doc_list = []
                  see_alsos = cut_it(",", documentation[k])
                  for i in see_alsos:
                      see = i.strip()
                      if see:
                          doc_list.append(see)
                  doc_dic.update({"SeeAlso": doc_list})
              else:
                  text = ""
                  name = k.replace(":", "")
                  for i in cut_it("\n", documentation[k]):
                      text = text + i.strip() + " \n" + ""
                  if text:
                      doc_dic.update({name: text})
      write_help_html(doc_dic, helpdir, fname, sli_command_list, keywords)
function_tokens: def coll_data ( keywords , documentation , num , helpdir , fname , sli_command_list ) : see = "" relfile = fname . strip ( ) doc_dic = { "Id" : str ( num ) , "File" : relfile } iname = None for k in keywords : if k in documentation : if k == "Name:" : iname = documentation [ k ] . split ( ) [ 0 ] . rstrip ( "-" ) ifullname = documentation [ k ] . strip ( " \n" ) . strip ( ) ifullname = ifullname . lstrip ( iname ) . strip ( ) ifullname = ifullname . lstrip ( "- " ) if iname : iname = iname . strip ( '~~' ) doc_dic . update ( { "Name" : iname } ) if ifullname : doc_dic . update ( { "FullName" : ifullname } ) elif k == "SeeAlso:" or k == "See also:" or k == "See Also:" : doc_list = [ ] see_alsos = cut_it ( "," , documentation [ k ] ) for i in see_alsos : see = i . strip ( ) if see : doc_list . append ( see ) doc_dic . update ( { "SeeAlso" : doc_list } ) else : text = "" name = k . replace ( ":" , "" ) for i in cut_it ( "\n" , documentation [ k ] ) : text = text + i . strip ( ) + " \n" + "" if text : doc_dic . update ( { name : text } ) write_help_html ( doc_dic , helpdir , fname , sli_command_list , keywords )