Skip to content

Commit 723593f

Browse files
committed
publish: no code
1 parent f026a86 commit 723593f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildfile.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function publishTask(context)
145145
for m = funcs
146146
Nbe.top_level = Nbe.top_level + 1;
147147

148-
doc_fn = publish(m.NamespaceName + "." + m.Name, evalCode=false, outputDir=html_dir);
148+
doc_fn = publish(m.NamespaceName + "." + m.Name, evalCode=false, showCode=false, outputDir=html_dir);
149149
disp(doc_fn)
150150

151151
% inject summary for each function
@@ -161,7 +161,7 @@ function publishTask(context)
161161
if ~isempty(which(subfun))
162162
Nbe.(bn) = Nbe.(bn) + 1;
163163

164-
doc_fn = publish(subfun, evalCode=false, outputDir=html_dir + "/" + bn);
164+
doc_fn = publish(subfun, evalCode=false, showCode=false, outputDir=html_dir + "/" + bn);
165165
disp(doc_fn)
166166

167167
req = req + " <a href=" + bn + "/" + m.Name + ".html>" + bn + "</a>";

0 commit comments

Comments
 (0)