Index: openacs-4/packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl,v diff -u -r1.53 -r1.54 --- openacs-4/packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl 26 Jul 2018 12:15:37 -0000 1.53 +++ openacs-4/packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl 26 Jul 2018 12:29:56 -0000 1.54 @@ -864,18 +864,22 @@ # # Get calling information from init files # + set init_files packages/acs-bootstrap-installer/bootstrap.tcl foreach package_key [apm_enabled_packages] { foreach file [apm_get_package_files -package_key $package_key -file_types tcl_init] { - set file_contents [template::util::read_file $::acs::rootdir/packages/$package_key/$file] - set proc_name packages/$package_key/$file - foreach called [api_called_proc_names -proc_name $proc_name -body $file_contents] { - api_add_to_proc_doc \ - -proc_name $called \ - -property calledby \ - -value $proc_name - } + lappend init_files packages/$package_key/$file } } + + foreach init_file $init_files { + set file_contents [template::util::read_file $::acs::rootdir/$init_file] + foreach called [api_called_proc_names -proc_name $init_file -body $file_contents] { + api_add_to_proc_doc \ + -proc_name $called \ + -property calledby \ + -value $init_file + } + } # # Get calling information from procs