Skip to content

Commit

Permalink
Last modifications for version 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Gouel committed Sep 13, 2013
1 parent 592f742 commit 2f2af4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Archive.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ md recs-archive\Python

:: Generate RECS documentation
cd html
matlab -wait -nosplash -r startup;Publish_recs_help;exit
matlab -wait -nosplash -r addpath('%1');startup;Publish_recs_help;exit
cd ..

:: Convert README.md to html
Expand All @@ -37,7 +37,7 @@ del Archive.bat
rename README.md README.txt
del recsInstall.m
rmdir /S /Q Python\dolo\.git
7z a ..\recs-%1.zip .
7z a ..\recs-%2.zip .
cd ..

:: Clean temporary folder
Expand Down
2 changes: 2 additions & 0 deletions html/Publish_recs_help.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ function Publish_recs_help(website)
txt = regexprep(txt,pattern,'<tt>ncpsolve</tt>');
pattern = '"matlab:doc\(''(\w*)''\)"';
txt = regexprep(txt,pattern,'"$1.html"');
pattern = '"matlab:doc\(''recsmodel.recsmodel''\)"';
txt = regexprep(txt,pattern,'"recsmodel.html"');
fid = fopen(fullfile(targetdirectory,htmlfilelist(i,:)),'w');
fprintf(fid,'%s',txt);
fclose(fid);
Expand Down

0 comments on commit 2f2af4e

Please sign in to comment.