pro MAKE_MY_IDL_HELP, dir = dir, file = file, title = title ;+ ; NAME: ; MAKE_MY_IDL_HELP ; ; PURPOSE: ; Generates HTML documentation to IDL software within a given directory ; defining hyperlinks to IDL source files ; ; CATEGORY: ; Help/Documentation ; ; KEYED INPUTS: ; DIR directory name (default is ".") ; FILE help file name (default is /my_idl_help.html") ; TITLE Title of the produced HTML file ; ; WRITTEN FILES: ; FILE ; ; DEPENDENCIES: ; Calls MY_MK_HTML_HELP ; ; MODIFICATION HISTORY: ; 02 Mar 2001 Written by Mattia Vaccari ; ; 07 May 2001 DIR and FILE keywords added (Mattia Vaccari) ; 25 Apr 2003 FILE default value changed and miscellaneous ; improvements: now calls MK_LARI_HTML_HELP, thus ; generating hyperlinks to software source ; (Mattia Vaccari) ; 05 Dec 2004 Refactored for general application. ; Now calls MY_MK_HTML_HELP (Mattia Vaccari) ; 12 Jan 2005 Debugging of DIR and FILE keywords (Mattia Vaccari) ;- if n_elements(dir) eq 0 then dir='./' else dir=dir+'/' if (strlen(findfile(dir)))[0] eq 0 then begin $ print,'!!! Specified Directory Not Found !!!' print,'Returning...' return endif if n_elements(file) eq 0 then file=dir+'./my_idl_help.html' if n_elements(title) eq 0 then title='My IDL On-Line Help' MY_MK_HTML_HELP,dir,file,title=title,/strict,/verbose end