You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
out := out + \"\\n\" + sum(\"\" + l + \"\\n\" for l in OpenModelica.Scripting.stringSplit(OpenModelica.Scripting.readFile(\"interface.inc.tmp.rst\"), \"\\n\")) + \" \\n\";
25
+
OpenModelica.Scripting.system(\"pandoc --no-wrap -t rst -f html -o tmp/interface.inc.tmp.rst tmp/interface.inc.tmp\");
out := out + \"\\n\" + sum(\"\" + l + \"\\n\" for l in OpenModelica.Scripting.stringSplit(OpenModelica.Scripting.readFile(\"tmp/interface.inc.tmp.rst\"), \"\\n\")) + \" \\n\";
28
28
s := OpenModelica.Scripting.list(cl, interfaceOnly=true);
29
29
if stringLength(s) > 0 then
30
30
out := out + \"\\n.. code-block :: modelica\\n\\n\";
31
31
out := out + sum(\" \" + l + \"\\n\" for l in OpenModelica.Scripting.strtok(s, \"\\n\")) + \" \\n\";
32
32
end if;
33
33
end reSTInterface;
34
-
";
35
-
loadString(s);
34
+
");
36
35
getErrorString();
37
36
38
37
writeFile("interface.inc", sum(reSTInterface(cl) for cl guard isFunction(cl) and not isPartial(cl) and not regexBool(typeNameString(cl), "Internal") in getClassNames(OpenModelica.Scripting, sort=true, recursive=true)));getErrorString();
0 commit comments