forked from gap-packages/sgpdec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makedoc.g
30 lines (28 loc) · 834 Bytes
/
makedoc.g
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SgpDecDocSourceFiles := ["../PackageInfo.g",
"mansections.xml"];
MakeReadOnlyGVar("SgpDecDocSourceFiles");
SgpDecMakeDoc := function()
MakeGAPDocDoc(
Concatenation(PackageInfo("sgpdec")[1]!.InstallationPath,"/doc"),
"main.xml",
SgpDecDocSourceFiles,
"SgpDec",
"MathJax",
"../../..");
end;
SgpDecRunManualExamples := function()
#to have the same output
SizeScreen([80]);
#to have no profile info
#SetInfoLevel(LagrangeDecompositionInfoClass,0);
#SetInfoLevel(HolonomyInfoClass,0);
#SetInfoLevel(SkeletonInfoClass,0);
RunExamples(
ExtractExamples(
Concatenation(PackageInfo("sgpdec")[1]!.InstallationPath,
"/doc"),
"main.xml",
SgpDecDocSourceFiles,
"Section"),
rec(width:=80,compareFunction:="uptowhitespace"));
end;