From 2f2af4e8d8e0d0815f92be2145d6b1ab7b84b8b8 Mon Sep 17 00:00:00 2001 From: Christophe Gouel Date: Fri, 13 Sep 2013 13:26:39 +0200 Subject: [PATCH] Last modifications for version 0.6 --- Archive.bat | 4 ++-- html/Publish_recs_help.m | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Archive.bat b/Archive.bat index 9347ff8..28bad7a 100644 --- a/Archive.bat +++ b/Archive.bat @@ -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 @@ -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 diff --git a/html/Publish_recs_help.m b/html/Publish_recs_help.m index e1dd8b8..c132a65 100644 --- a/html/Publish_recs_help.m +++ b/html/Publish_recs_help.m @@ -91,6 +91,8 @@ function Publish_recs_help(website) txt = regexprep(txt,pattern,'ncpsolve'); 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);