File: PKG_ADD

package info (click to toggle)
octave-netcdf 1.0.18-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,756 kB
  • sloc: sh: 2,943; cpp: 1,812; python: 438; makefile: 223; awk: 51; xml: 20
file content (14 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# on package load, attempt to load docs
try
  pkg_dir = fileparts (fullfile (mfilename ("fullpath")));
  doc_file = fullfile (pkg_dir, "doc", "octave-netcdf.qch");
  if exist(doc_file, "file")
    if exist("__event_manager_register_documentation__")
      __event_manager_register_documentation__ (doc_file);
    elseif exist("__event_manager_register_doc__")
      __event_manager_register_doc__ (doc_file);
    endif
  endif
catch
  # do nothing
end_try_catch