end
end
end
classesHTML=[classesHTML, '
', sprintf('\n'), classesHTML_end];
%write edited file
-ita_writeHTML([folder filesep 'HTML' filesep 'classes.html'],classesHTML)
+ita_writeHTML(fullfile(htmlFolder, 'classes.html'), classesHTML);
% -> edit apps.html
-[appsHTML_begin appsHTML_end] = ita_openHTML([ita_toolbox_path filesep 'applications' filesep 'HTMLhelp' filesep 'templates' filesep 'template_apps.html']);
-appsHTML= [appsHTML_begin];
+[appsHTML_begin, appsHTML_end] = ita_openHTML(fullfile(templateFolder, 'template_apps.html'));
+appsHTML= appsHTML_begin;
%%%%%%%%%%%%%%%%%%%
appfolder = rdir([folder filesep '**' filesep 'ita_apps.m']);
if isempty(appfolder)
@@ -309,17 +314,17 @@ else
'', appname, ' | ', sprintf('\n'),...
'', data, sprintf('\n'),...
' | ',sprintf('\n'),...
- '', sprintf('\n')];
+ '', sprintf('\n')]; %#ok
end
appsHTML = [appsHTML '' appsHTML_end];
end
%write edited file
-ita_writeHTML([folder filesep 'HTML' filesep 'apps.html'],appsHTML)
+ita_writeHTML(fullfile(htmlFolder, 'apps.html'), appsHTML);
%% Generate Kernel Documentation
-[kernelHTML_begin kernelHTML_end] = ita_openHTML([ita_toolbox_path filesep 'applications' filesep 'HTMLhelp' filesep 'templates' filesep 'template_kernel.html']);
-kernelHTML= [kernelHTML_begin];
+[kernelHTML_begin, kernelHTML_end] = ita_openHTML(fullfile(templateFolder, 'template_kernel.html'));
+kernelHTML= kernelHTML_begin;
kernelList = rdir([folder filesep 'kernel' filesep '**' filesep 'KernelDescription.txt']);
kernelHTML = [kernelHTML '' sprintf('\n')];
@@ -328,9 +333,9 @@ for idx = 1:numel(kernelList)
% get Kernelfoldername
kernelDescriptionPath = kernelList(idx).name;
pos = strfind(kernelDescriptionPath,'kernel');
- kernelName{idx} = kernelDescriptionPath(pos(1)+7:end);
+ kernelName{idx} = kernelDescriptionPath(pos(1)+7:end); %#ok
pos = strfind(kernelName{idx},'KernelDescription.txt');
- kernelName{idx} = kernelName{idx}(1:pos(1)-2);
+ kernelName{idx} = kernelName{idx}(1:pos(1)-2); %#ok
%get m2html documentation fileposition:
pos = strfind(kernelDescriptionPath,'kernel');
@@ -362,11 +367,10 @@ for idx = 1:numel(kernelList)
'', kernelName{idx}, ' | ', sprintf('\n'),...
'', data, sprintf('\n'),...
' | ',sprintf('\n'),...
- '', sprintf('\n')];
+ '', sprintf('\n')]; %#ok
end
kernelHTML = [kernelHTML '
' kernelHTML_end];
-ita_writeHTML([folder filesep 'HTML' filesep 'kernel.html'],kernelHTML)
+ita_writeHTML(fullfile(htmlFolder, 'kernel.html'), kernelHTML);
cd(oldfolder);
-disp('****** PLEASE RESTART MATLAB TO GET AN ENTRY "RWTH ITA TOOLBOX" IN YOUR MATLAB HELP BROWSER ******')
-end
\ No newline at end of file
+end
diff --git a/applications/HTMLhelp/templates/template_info.xml b/applications/HTMLhelp/templates/template_info.xml
new file mode 100644
index 0000000000000000000000000000000000000000..7a10d88ef84210cab23b8fd3a177b29fae368a23
--- /dev/null
+++ b/applications/HTMLhelp/templates/template_info.xml
@@ -0,0 +1,46 @@
+
+
+
+ R14
+ RWTH ITA
+ toolbox
+ ../pics/ITA16x16.gif
+
+ ./
+
+
+
+
+
+ ita_toolbox_setup
+ $toolbox/matlab/icons/greencircleicon.gif
+
+
+
+
+ web index.html -helpbrowser
+ $toolbox/matlab/icons/book_mat.gif
+
+
+
+
+ open('ITA_Toolbox_Getting_Started.pdf');
+ $toolbox/matlab/icons/pdficon.gif
+
+
+
+
+ web http://www.akustik.rwth-aachen.de -browser;
+ $docroot/techdoc/matlab_env/examples/webicon.gif
+
+
+
+ web http://www.ita-toolbox.org -browser;
+ $docroot/techdoc/matlab_env/examples/webicon.gif
+
+
+
+
+